Re: [Seaside] “smart” quotes, not "dumb" ones

Sebastian Sastre sebastian at flowingconcept.com
Tue Jun 21 16:26:30 UTC 2011


yes, I'm thinking on using ’  and friends to evade the need to remember/refer to numbers

>                 html paragraph: '‘O’'.

you get that one rendered properly like that in VW but not on Pharo (or am I missing something good)?

sebastian

o/

PD: in pharo I can't even write a ’ or a ”





On Jun 21, 2011, at 12:26 PM, Boris Popov, DeepCove Labs wrote:

> [FYI: ’ = ’]
>  
> renderContentOn: html
>  
>                 html paragraph: '’'.
>                 html html: '’'.
>                 html paragraph: '‘O’'.
>                 html html: '‘O’'.
>                 html paragraph: '“O”'.
>                 html html: '“O”'
>  
> <image001.png>
>  
> Also, set a breakpoint in WAXmlEncoder and go from there.
>  
> http://en.wikipedia.org/wiki/Quotation_mark_glyphs
> http://en.wikipedia.org/wiki/Apostrophe#Entering_apostrophes
>  
> -Boris
>  
> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Philippe Marschall
> Sent: Tuesday, June 21, 2011 11:20 AM
> To: Seaside - general discussion
> Subject: Re: [Seaside] “smart” quotes, not "dumb" ones
>  
> 2011/6/21 Sebastian Sastre <sebastian at flowingconcept.com>:
> > Thanks Nick,
> > it does but is a PIA (actually in the eye/brain) for people that
> > doesn't code (translators for instance) that's the best we can
> > currently do?
>  
> Depends. If you are willing to accept WideStrings code point 8217 should work just fine. You can switch to cp-1252 and use the character value 146. Or you can stick to iso-8858-1 use character value 146 and rely on browsers interpreting it as cp-1252.
>  
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110621/8215d388/attachment-0001.htm


More information about the seaside mailing list