open my $IN, '<:utf8', $filename or die $!;
or
open my $IN, '<', $filename or die $!; binmode $IN, ':utf8';
Set the output encoding to UTF-8, too, if you plan to output any accented characters.
In reply to Re: Unaccenting characters
by choroba
in thread Unaccenting characters
by mwhiting
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |