On Mon, Apr 14, 2008 at 1:21 PM, Paulo Antonio
<[EMAIL PROTECTED]> wrote:
> 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.
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
On Apr 14, 2008, at 10:10, Paulo Antonio wrote:
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);
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);