Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Files with arabic namesby Corion (Patriarch) |
on Jul 13, 2017 at 18:52 UTC ( [id://1195067]=note: print w/replies, xml ) | Need Help?? |
This is only true if the character encoding used is the same between Perl and the other process(es) showing the files. On Unixish systems, filenames are opaque blobs of octets and all interpretation of them as UTF-8 octets is solely by convention. On Windows systems, filenames are encoded as wide characters (UTF-16) and you have to use the Wide APIs to access/delete them. If your filenames are encoded as UTF-8, you have to change their encoding to UTF-16 when talking to the Windows API. Win32::Unicode helps there.
In Section
Seekers of Perl Wisdom
|
|