I think you should encode perl's string internal form into your encoding with encode from Encode
my $octets = encode($encoding, $path);
hth,
PooLpi
In reply to Re: Handling file path with unusual characters
by poolpi
in thread Handling file path with unusual characters
by samuelalfred
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |