and for output intended for the console window I useopen (my $fh, '<:encoding(Windows-1252)', $fname) or die "cannot open +$fname: $!";
(if your data really is UTF-8, then "encoding(utf-8)" should do the right thingbinmode STDOUT, ':encoding(cp437)'; # or cp850
In reply to UTF-8 encodings issues (Re^3: Sorting/Cleansing a Duplicate File)
by soonix
in thread Sorting/Cleansing a Duplicate File
by perlron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |