Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Reading a file with utf8 databy Zaxo (Archbishop) |
on Jul 20, 2007 at 06:33 UTC ( [id://627720]=note: print w/replies, xml ) | Need Help?? |
If UTF-8 data is important to you, you need to insist on having perl 5.8+. 5.6.1 was almost there, but not good enough. Your open statement would be fine in 5.8 aside from not checking return status. The difficulty is likeliest coming from the PerlIO mode argument. PerlIO wasn't the default until 5.8. After Compline,
In Section
Seekers of Perl Wisdom
|
|