Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: How to read a Unicode file?by Zaxo (Archbishop) |
on Jan 23, 2004 at 23:14 UTC ( [id://323729]=note: print w/replies, xml ) | Need Help?? |
Chances are that if ASCII is turning up with interposed zero bytes, your file is in utf16. That is the default encoding on Windows. Perl 5.8 is pretty smart about unicode. After Compline,
In Section
Seekers of Perl Wisdom
|
|