Re: Time to update POSIX.pm?
[Posted February 2, 2011 by corbet]
From: |
| Tom Christiansen <tchrist-AT-perl.com> |
To: |
| Karl Williamson <public-AT-khwilliamson.com> |
Subject: |
| Re: Time to update POSIX.pm? |
Date: |
| Mon, 31 Jan 2011 08:56:29 -0700 |
Message-ID: |
| <908.1296489389@chthon> |
Cc: |
| Perl5 Porters <perl5-porters-AT-perl.org> |
Karl wrote:
> lc() only does full Unicode case mapping when use feature
> 'unicode_strings' is in effect. When locale is in effect, it uses
> locale mappings. So I don't see a problem
"Problem" is too strong a word; I think "quibble" or "niggle"
might do better. I was thinking that if someone said POSIX::lc()
instead of the normal lc(), then they might be expecting it to
always use the POSIX sense.
I'm coming to think of POSIX compatibility more as a legacy
matter than something genuinely useful in a Unicode world.
I'd ask whether this is only for strings without the UTF-8 flag
turned on them, but that would just display my ignorance of
some of the hard work you've put in. I'll go read.
--tom