[NTLUG:Discuss] 'Smart quotes' in a konsole window

terry trryhend at gmail.com
Sun May 31 06:52:51 CDT 2009


On Sun, May 31, 2009 at 12:08 AM, Leroy Tennison
<leroy_tennison at prodigy.net> wrote:
> Does anyone know how you get these when working in konsole?  I was doing
> the following and wondering why it didn't work (thought I was either
> going crazy or totally misunderstanding regular expressions):
>
> grep “\(first\|third\)” test3

I don't know where you get those fancy quotes.
My keyboard does not seem to generate them,
or I don't know how.  I can do two apostrophes ''  or just a quote "
and they both look the same and then there is the one that is lower
case from the tilda ` and I don't even know what to call it (accent
mark?), but none of them look like the fancy quotes you have.  But
that is all I can get out of my keyboard.

> It wasn't until I did:
>
> grep "\(first\|third\)" test3
>
> and saw it work that I started comparing the two and noticed the
> difference in the double quote characters.  Unfortunately I had no idea
> how I entered them originally (I wasn't doing anything special that I
> knew I was doing).  I did copy/paste both lines into a file and look at
> it with hexdump.  The first quote is a multibyte sequence (e2 80 9c) and
> the second is a single byte (22).  Another point is that, in konsole,
> the 'Smart Quotes' don't look at they appear above (in my Thunderbird
> composition window, I hope emailing this doesn't cause 'conversions' to
> take place).  The first 'Smart Quote' looks like two commas
> superscripted and turned upside down, the second 'Smart Quote' looks
> like two commas superscripted but not turned upside down.  You get the
> same look in OpenOffice.org Writer 3.01 when you use double quotes.
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>



-- 
<><



More information about the Discuss mailing list