in reply to Re^3: UTF-8 and readdir, etc.
in thread UTF-8 and readdir, etc.

What character in

my $dir = 'pm_1208191_utf8_filenames';

has ord() >= 128?

I meant 'use utf8;' needed if there is an actual char with ord() >= 128 in $dir string.

The reason behind my post was that your suggestion isn't a valid unicode processing. It cover only one specific case where encodings of fs/result file/code are the same. Just that case I wanted to highlight that