in reply to Re^2: Playing with "funny" chars
in thread Playing with extended chars
The first attemp works like this:
It seems that "á" is treated as two characters, maybe "´" and "a", and each one get one different matching char ( "a" and "e").perl -e '$_="áéíóú";tr/áéíóú/aeiou/;print' aeaoauauau
BTW, encode and decode functions return values that make me think that the string is well formed, and that is tr// who's making wrong things. Am I too lost?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Playing with "funny" chars
by itub (Priest) on Sep 27, 2004 at 15:42 UTC |