in reply to Playing with extended chars

I use this and it works:

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

Replies are listed 'Best First'.
Re^2: Playing with "funny" chars
by deibyz (Hermit) on Sep 27, 2004 at 15:19 UTC
    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

      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")...