Garbled characters in the CMD window

Source: Internet
Author: User

In the CMD command window, execute chcp to find the character set is 437, that is, the United States, and 936 represents China.

Then run chcp 936 to change the character set in the Command window.

To change the Registry permanently, Open regedit

The item code page value under HKEY_CURRENT_USER \ console \ systemroot1__system32_cmd.exe is changed to "936" in decimal format or "000003a8" in hexadecimal format.

Note: The hexadecimal System "0000308" or decimal "936" indicates "936 (ANSI/oem-Simplified Chinese GBK )"

Reference: http://space.itpub.net/22664653/viewspace-617623

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.