go ahead... be a heretic | |
PerlMonks |
Re: DWIM with non ASCII charactersby moritz (Cardinal) |
on May 07, 2010 at 07:17 UTC ( [id://838873]=note: print w/replies, xml ) | Need Help?? |
What do you think is the best strategy for handling non ASCII characters? Decode everything that comes from the outside. Encode everything that leaves your program. use utf8;. Avoid locales if you can. See Perl, encodings and Unicode and the Perl Programming/Unicode UTF-8 WikiBook.
Perl 6 - links to (nearly) everything that is Perl 6.
In Section
Seekers of Perl Wisdom
|
|