Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: How to read the unicode fileby Juerd (Abbot) |
on Sep 18, 2008 at 16:46 UTC ( [id://712334]=note: print w/replies, xml ) | Need Help?? |
Unicode text files are read exactly the same way that other text files are read: by specifying a text encoding. open my $fh, "< :encoding(UTF-8)", $filename or die "open: $!";
In Section
Seekers of Perl Wisdom
|
|