[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] locale on Mac



At 07.18 -0400 1998.09.28, Bart Lateur wrote:
>I have tried to convert a set of all upercase text to lowercase, using
>something like:
>
>	print lc $_;
>
>However, this failed to do it's job on special characters like "…" and
>"†", which remained in uppercase. (In case it got mangled: these are
>uppercase letters with "umlaut" AKA "dieresis").
>
>For what I'"v read, this might be remedied by proper "locale" settings.
>Can I fix it?

  use locale;  # should work now

>Why is locale setting not set to standard Mac character set, by default?

It is set to ASCII, and for compatibility's sake, I think that is how it
should be.  Since it is so easy to "fix" with the singl e use locale
statement, it seems to me not a problem.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch