Re: Changing case of UTF-8 strings

2008-04-15 Thread Paulo Antonio
On 14 abr, 13:25, [EMAIL PROTECTED] (Chas. Owens) wrote: [...] > Hmm, the following works for me, but then again I have > > export PERL_UNICODE=SDL #Make Perl use UTF-8 for IO > > in my .bash_profile. > Yes, that made the trick. Thanks. But I wish there was a "Perl only" way... -- To unsubs

Changing case of UTF-8 strings

2008-04-14 Thread Paulo Antonio
Hi all, I'm trying to change case of UTF-8 strings. I've read a bunch of documentation, but can't figure out how to do it right. Here is an example: === My code: use strict; use utf8; my $line; my $letter; while ($line = ) { chomp($line); utf8::upgrade($line); $line = lc($line);