Chcp displays the number of active console code pages, or changes the active console code pages of the console.

Source: Internet
Author: User

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

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.