I have file
00000000 D0 BA D0 B8 │ D1 80 D0 B8 │ D0 BB D0 B8 │ D0 BA к и р и л и к
Wide character in print at ...
open my $fh, '<:encoding(UTF-8)', '/tmp/xxx';
print scalar <$fh>
You're printing to STDOUT which isn't expecting UTF8. Add
to change that on the already opened handle.