Jay [J], on Wednesday, January 26, 2005 at 16:51 (-0500) typed: J> Are you sure? There's no newline, so make sure you're terminal isn't J> putting "aez" before your prompt. Also, are you sure that the input
I am sure, because, if I put there "aez" (no accents), it prints "aez" J> is what you think it is? What editor are you using, and what version J> of windows, what encoding are the characters being saved in when you J> write the script to disk? Don't forget, too, that there will be all J> sorts of background conversion going on here, both by Windows and by J> Perl itself, which will attempt to use locale. Try this on a file J> you're sure is encoded in WINDOWS-1250, and open it using :raw. Take J> a look at perldoc perllocale. yes, you have right here. But I am not able to convert accents letter to ASCII anyway, so I am doing tr// table. I don't know any other (fast) solution for that. As one pal write: Convert the string to UTF-8, then iterate over the characters, get their names using Unicode::CharName::uname, strip the accent using regular expression from the name, like LATIN CAPITAL LETTER A WITH ACUTE => LATIN CAPITAL LETTER A and then what is left to find out is the way to convert the name back to the character and replacing it in the string.... also another problem is: http://groups-beta.google.com/group/comp.lang.perl.misc/browse_frm/thread/d0c638da35ecd569/ecedbfcb6398865d -- ...m8s, cu l8r, Brano. [Help Orville Bullitt buy a clue.] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>