Chcp
Show activity Console CodeNumber of pages, or change the active console code page of the console. If no parameter is available, the chcp displays the number of code pages in the active console.
Syntax
Chcp [NNN]
Parameters
Specifies the code page. The following table lists all supported code pages and their country or language: code page country or language
437 USA
850 multilingual (lati)
852 Slavic (Latin II)
855 Spanish (Russian)
857 Turkish
860 Portuguese
861 iceisland
863 Canada-French
865 man
866 Russian
869 modern Greek
/?
Display help at the command prompt.
Note
The original device manufacturer (OEM) code page can be correctly displayed in the Command Prompt window using the grating font only when the original device manufacturer (OEM) code page is installed with Windows XP. Other code pages can be correctly displayed in full screen mode or in the Command Prompt window using the TrueType font.
Just like in a MS-DOS, you don't have to prepare a code page.
StartProgramThe new code page will be used. However, if a new code page is assigned only after the program (except cmd.exe) is started, the program uses the original code page.
Example
To view the activity code page settings, type:
Chcp
The following information is displayed:
Active Code Page: 437
To change the active code page to 850 (multiple languages), type:
Chcp 850
If the specified code page is invalid, the following error message is displayed:
Invalid code page
Xox