http://www.perlmonks.org?node_id=712334


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: $!";

Juerd # { site => 'juerd.nl', do_not_use => 'spamtrap', perl6_server => 'feather' }