Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
Description
BRIEF: There are encoding errors In listed applications. It is related to Windows OEM Codepage which differs from GUI codepage (i.e. OEM Russian Charset is 866, but GUI charset is 1251).
This patch add setlocale(LC_CTYPE, "") call which fix it (on MSVS builds).
I also tried Windows API calls as SetConsoleOutputCP(), SetConsoleCP, GetACP(), but the _tprintf() routine used for printing internally converts string parameters to the default "C" locale. (If only it was WriteConsole() call, then these functions works correctly.)
Attachments
Issue Links
- relates to
-
CORE-10504 Create a library for console output/input functions, last-error messages display, etc. to be used for all of our internal command-line utilities
- Resolved
-
CORE-7994 Small improvement of Russian translation
- Resolved