Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: En/Decode a unicode pathby ikegami (Patriarch) |
on Jan 23, 2023 at 22:24 UTC ( [id://11149796]=note: print w/replies, xml ) | Need Help?? |
For every Windows API function that deals with a string, there's an (A)NSI and a (W)ide version of it. The ANSI version uses the ANSI/Active Code Page as the encoding, while the wide version uses UTF-16le. Perl builtins use the (A)NSI version of API functions, so interactions with the system via Perl builtins are limited to the character set of the ACP. For Windows for the American market, the system's ACP is 1252.
In Section
Seekers of Perl Wisdom
|
|