How to solve Chinese garbled characters in cmd command mode in win7

Source: Internet
Author: User

1. Click "run" in the Start menu, and then enter the CMD command prompt as follows:

2. On the cmd page, click chcp 936 and press enter.

3. After the execution, if "active code page: 936" is displayed, the problem can be solved. If "□□□□□: 936" is displayed, go to the next step.

4. Right-click the title bar of the command prompt, open "default", select "default code page" as "936", and click "OK".

Well, after we set the system encoding to gbk, we will find that the problem of garbled characters in cmd is solved. This is actually the reason for system compatibility, of course, gbk won't cause English garbled characters. Why not to mention it? Certainly, it won't cause English garbled characters.

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.