[Seaside] "smart" quotes, not "dumb" ones

Boris Popov, DeepCove Labs boris at deepcovelabs.com
Tue Jun 21 16:28:20 UTC 2011


That would be a Pharo issue then.

 

-Boris 

 

From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of
Sebastian Sastre
Sent: Tuesday, June 21, 2011 12:27 PM
To: Seaside - general discussion
Subject: Re: [Seaside] "smart" quotes, not "dumb" ones

 

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 <http://about.me/sebastianconcept> 

 

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: &#146; = &rsquo;]

 

renderContentOn: html

 

                html paragraph: '''.

                html html: '&rsquo;'.

                html paragraph: ''O''.

                html html: '&lsquo;O&rsquo;'.

                html paragraph: '"O"'.

                html html: '&ldquo;O&rdquo;'

 

<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
<mailto: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
<mailto:seaside at lists.squeakfoundation.org> 

http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
<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/162d7e70/attachment.htm


More information about the seaside mailing list