CHCP Displays the number of active console code pages, or changes the active console code page for the console _dos/bat
Source: Internet
Author: User
Chcp
Displays the number of active console code pages, or changes the active console code page for the console. If used without parameters, CHCP displays the number of active console code pages.
Grammar
chcp [nnn]
Parameters
Specifies the code page. The following table lists all supported code pages and their country or language: code page country (region) or language
437 the USA
850 multilingual (Latin I)
852 Slavic (Latin II)
855 Cyrillic (Russian)
857 Turkish language
860 Portuguese
861 Icelandic
863 Canada-French
865 Germanic languages
866 Russian
869 Modern Greek
/?
Display Help at the command prompt.
Comments
You must install the original equipment manufacturer (OEM) code page with Windows XP to correctly display the command prompt window that uses raster fonts. Other code pages can be displayed correctly in Full-screen mode or in a command prompt window that uses TrueType fonts.
As in MS-DOS, you do not have to prepare a code page.
The program that starts the assigned new code page will use the new code page, but if the new code page is assigned after the program (except Cmd.exe) is started, the program will use the original code page.
Example
To view the active code page settings, type:
Chcp
The information that appears is as follows:
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:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.