Message389083
On 19.03.2021 13:25, Eryk Sun wrote:
>> My assumption is that nl_langinfo(CODESET) does not work on Windows
>> or gives wrong results. Is that incorrect ?
>
> There is no such function for CRT locales. I provided two alternatives that would allow implementing this consistent with POSIX, and thus avoid all of the "except on Windows..." disclaimers that have to explain (apologize) that only the process ANSI code page is used in Windows, and, for no good reason as far as I can tell, the LC_CTYPE locale encoding is completely ignored.
Sounds good. If we can get consistent behavior on Windows as well,
all the better :-) |
|
Date |
User |
Action |
Args |
2021-03-19 12:48:02 | lemburg | set | recipients:
+ lemburg, vstinner, methane, eryksun |
2021-03-19 12:48:02 | lemburg | link | issue43552 messages |
2021-03-19 12:48:02 | lemburg | create | |
|