in reply to utf8 characters in tr/// or s///
I have no experience with tr and Unicode, but s/// works fine.
When you want to print out stuff, you also need binmode STDOUT, ':encoding(UTF-8)'; or similar stuff.
See also encodings, Unicode and Perl, perluniintro and perlunifaq.
Update: And take a look at Text::Unidecode, it might safe you quite some work.
|
|---|