in reply to Re: En/Decode a unicode path
in thread En/Decode a unicode path
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: En/Decode a unicode path
by exilepanda (Friar) on Jan 24, 2023 at 05:21 UTC |