“smart” quotes, not "dumb" ones

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

“smart” quotes, not "dumb" ones

sebastianconcept@gmail.co
Hi there,

has anyone experiences success in using smart quotes in strings in the image that are also rendered properly in the UA?

also for the single ones (like the ones you need for it’s instead of it's [note the curvature])

tips?

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: “smart” quotes, not "dumb" ones

Nick
has anyone experiences success in using smart quotes in strings in the image that are also rendered properly in the UA?

also for the single ones (like the ones you need for it’s instead of it's [note the curvature])

don't character entities solve your problem:

it’s

 

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: “smart” quotes, not "dumb" ones

sebastianconcept@gmail.co
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?



On Jun 21, 2011, at 4:28 AM, Nick Ager wrote:

’





_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: “smart” quotes, not "dumb" ones

Philippe Marschall
2011/6/21 Sebastian Sastre <[hidden email]>:
> 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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: “smart” quotes, not "dumb" ones

Boris Popov, DeepCove Labs (SNN)

[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;'

 

 

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: [hidden email] [mailto:[hidden email]] 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 <[hidden email]>:

> 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

[hidden email]

http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: “smart” quotes, not "dumb" ones

sebastianconcept@gmail.co
<base href="x-msg://92/">yes, I'm thinking on using &rsquo;  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)?

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.
 
 
-Boris
 
-----Original Message-----
From: [hidden email] [mailto:[hidden email]] 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 <[hidden email]>:
> 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 mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: "smart" quotes, not "dumb" ones

Boris Popov, DeepCove Labs (SNN)
<base href="x-msg://92/">

That would be a Pharo issue then.

 

-Boris

 

From: [hidden email] [mailto:[hidden email]] 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 &rsquo;  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)?

 

 

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.

 

 

-Boris

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] 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 <[hidden email]>:

> 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 mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 

 

 


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside