in reply to Handling file path with unusual characters
I think you should encode perl's string internal form into your encoding with encode from Encode
my $octets = encode($encoding, $path);
hth,
PooLpi
'Ebry haffa hoe hab im tik a bush'.
Jamaican proverb
In Section
Seekers of Perl Wisdom