Re:You can't just assume UTF-8
by ezoe on Tuesday April 30, 2024 @04:45AM
(#40208633)
Don't be surprised such UTF-8 locale program will break so bad on Windows with default language set to Japanese.
[ Parent
| on HN ]
Why would it break? If you just assume that the system codepage is UTF-8, then sure. If you specifically say in your manifest that you want UTF-8, then Windows (10+) will give you UTF-8 regardless of which locale it is:
https://learn.microsoft.com/en-us/windows/apps/design/global...