Just for the info.

When you pass a string in format "Language[_Country].CodePage" to CRT's 
`[_w]setlocale` and both `Language[_Country]` and `CodePage` parts are valid, 
that string will be accepted and used.

It makes it possible to pass nonsense like `Japanese_Japan.1252` and 
`setlocale` will succeed. But as a result, for example, strings formatted by 
strftime will contain a lot of '?' characters instead of original Japanese text 
since it cannot be converted to code page 1252.

UCRT also allows strings in format ".CodePage", but msvcr*.dll (or at least 
msvcrt.dll) do not support this format. This format is quite convenient for 
testing.

- Kirill Makurin

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to