in reply to Re: Playing with "funny" chars
in thread Playing with extended chars

Could you please tell me some details about configuration, platform, etc...

#!/usr/local/bin/perl use strict; use warnings; $a = 'áéíóú'; $a =~ tr{áéíóú} {aeiou}s; print $a; __OUTPUT__ aeaoauauau
I'm using perl5.8.5 on RHAS (perl 5.8.0 come with the distro, but had problems with unicode).

Thanks

Replies are listed 'Best First'.
Re^3: Playing with "funny" chars
by cog (Parson) on Sep 27, 2004 at 16:29 UTC
    I'm using perl v5.8.4 on a Red Hat Linux 9.0

    Here's my complete script:

    #!/usr/bin/perl -pw use strict; y[áàãâäÁÀÃÂÄéèêëÉÈÊËíìîïÍÌÎÏóòõôöÓÒÔÕÖúùûüÚÙÛÜçÇ] [aaaaaAAAAAeeeeEEEEiiiiIIIIoooooOOOOOuuuuUUUUcC]

    Your script produces a correct output in my machine ("aeiou")...