Change keyboard codepage
14 March 2002 by Snakefoot | Comment » | Trackback OffIf you have problems using the keyboard in programs run from the command line (cmd.exe), then you might need to change your codepage, so it fits with your national settings.
This is can be done with this STRING value in the registry:
Note it is possible for an application to change the codepage by using the setLocale function. There is also SetConsoleCP / SetConsoleOutputCP, but they don't work with the default raster font, but requires that the console is using a truetype font like Lucida Console. More Info MS KB Q99795.
More Info MS KB Q314010
This is can be done with this STRING value in the registry:
One can also change the codepage from the command prompt (Will only have effect for the current session):[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Control \Nls \Codepage]
OEMCP = "850" (Default = 437)
To see current codepage from the command prompt:mode con cp select=850
mode con
| Country | Codepage |
|---|---|
| United States, UK | 437 |
| Multilingual | 850 |
| Slavic | 852 |
| Portuguese | 860 |
| Icelandic | 861 |
| Canadian, French | 863 |
| Scandinavian/Nordic | 865 |
More Info MS KB Q314010
Tags:
Category:
Updated: 22 August 2007