Usually, this problem occurs when you have a non-Unicode application and the regional settings in Windows are set incorrectly. Set the correct settings through the "Control Panel" and most likely everything works. I repeat - if you do not want to have problems AT ALL, write directly under Unicode. Fortunately, there are no reasons to write in Unicode anymore.
Algorithm description how to correct the situation: https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/int_pr_select_language_version.mspx?mfr=true
- Open Regional and Language Options in Control Panel.
- Click here for the non-Unicode programs for non-Unicode programs.
Sometimes it does not help. Then recommend to do so:
Start Registry Editor (Start - Run -> regedit).
When performing the following actions, be extremely careful - careless work with the Windows registry can lead to sad consequences!
It is necessary to change the values ​​of the parameters from “1250” to “1255” - set the value for each of these parameters to “c_1251.nls” in the following keys:
Code:
HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Nls \ CodePage HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Control \ Nls \ CodePage HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Control \ Nls \ CodePage
Reboot required.
Encoding fix in Windows XP
To prevent pens from climbing in the Windows registry, try the following:
Create a file in Notepad, copying the text below into it, save with the extension “reg” with any name, English letters, for example 1251.reg, and run it. In 90% of cases with XP, it helps.
Code:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Nls \ CodePage] "1250" = "c_1251.nls" "1251" = "c_1251.nls" "1252" = "c_1251.nls" "1253" = "c_1251.nls" " 1254 "=" c_1251.nls "" 1255 "=" c_1251.nls "
Or correct in the registry branch, responsible for displaying Cyrillic fonts.
Code:
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Nls \ CodePage]
changing to the following parameters:
Code:
1251 REG_SZ c_1251.nls 1252 REG_SZ c_1251.nls 1253 REG_SZ c_1251.nls
If it does not help, then additionally change:
Code:
1254 REG_SZ c_1251.nls 1255 REG_SZ c_1251.nls