in reply to How to read the unicode file
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