![]() ![]() ![]() ![]() That change will affect every other application on the system. The only time this would be appropriate is if you're writing a kiosk type application where nothing else will run on the system. This is because I'm using an ANSI application that needs to render Chinese characters, and I'm writing a tool to automatically switch the system show the characters (while leaving other aspects of the UI intact). I don't want to change the 'locale' per se as this will also change time / date settings, separators, etc. HKLM\SYSTEM\CurrentControlSet\Control\Nls\Language\ There must be another setting which I need to change - and I'd prefer to use a Win API call (if available) rather than writing to the registry myself. (Which is exactly what changing the non-Unicode codepage drop down in Control Panel does). HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage\ In this case, I want to switch to Chinese (PRC) and so am writing to the following registry strings: ![]() Could anyone advise how to programmatically change the default Windows XP code page (I'm doing this from Delphi)? (This would be the equivalent of going into Control Panel -> Regional Settings -> Language for non-Unicode applications). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |