develooper Front page | perl.perl5.porters | Postings from September 2000

Re: [ID 20000902.012] backticks as smart quotes

From:
Lupe Christoph
Date:
September 2, 2000 09:17
Subject:
Re: [ID 20000902.012] backticks as smart quotes
Message ID:
20000902180744.D939@alanya.lupe-christoph.de
On Saturday, 2000-09-02 at 09:44:37 -0500, Jarkko Hietaniemi wrote:
> On Sat, Sep 02, 2000 at 08:40:37AM -0600, Tom Christiansen wrote:
> > >It's all very nice to call something one doesn't like "political
> > >correctness".  But FWIW the `Yankee quoting' looks absolutely ugly
> > >for "many of us".  I guess it's one of those things where there is
> > >no clearly better alternative, but instead each one likes what one
> > >has been raised with.

German quoting is using lower-'"'/upper-'"', but I also have German
books that use French »quoting«.

> > Once Perl's default output strings all go to Unicode, then there are
> > other quoting alternatives.  But in ASCII, or even ISO-8859, you 
> > don't have anything but `this' for paired quotes--which, mind you,

You have the French guillemots in Latin-1. (&raquo and &laquo in HTML)
Hmm. Letsee:

@a = qw«a b c»;
@b = qw»a b c«;
printf "%s\n%s\n", join(' ', @a), join(' ', @b);

@c = qw»a b c«;
@d = qw«a b c»;
printf "%s\n%s\n", join(' ', @d), join(' ', @c);

gives (in 5.005_03 and bleadperl@7001)

------------------------------------------------------------------------
a b c»; @b = qw»a b c


a b c«; @d = qw«a b c
------------------------------------------------------------------------

Seems there is a pair of quotes missing from perl... ;-)

Lupe Christoph
-- 
| lupe@lupe-christoph.de       |        http://free.prohosting.com/~lupe |
| "jryy vg ybbxf yvxr gur l2x oht qvqa'g erne vg'f htyl urnq." "lrc. gur |
| qbbzfnlref unir orra cebira jebat lrg ntnva."  ....  "qvq lbh frr gung |
| gbb?" "ubhfgba. jr unir n ceboyrz."           User Friendly 2000-01-01 |



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About