Purpose:Display or change the current system code page


Format:CHCP [n]


n        A system code page number.




Code page switching allows you to select different character sets for language support.


If you enter CHCP without a number, the current code page is displayed.



Active code page: 437


If you enter CHCP plus a code page number, the code page is changed. For example, to set the code page to multilingual:


chcp 850


When you use CHCP under Windows it only affects the current process, and any new programs started from within that process; the active code page in other processes remains unchanged.