Workaround for Windows console cmd garbled (and permanently modified encoding)

Source: Internet
Author: User
Tags windows 10 enterprise microsoft windows 10

Tag:aml       scree   center    encoding      System Environment    gravity    pass    32 bit    

Windows Console cmd garbled solution my native system environment: OS name:microsoft Windows 10 Enterprise Edition OS version:10.0.14393 N/a Build 14393  sometimes output in cmd in Chinese garbled   Workaround as follows:  enter CHCP 65001 in cmd press ENTER   Then view no longer garbled     Note: CHCP is a computer instruction that can display or set the active code page number.   code page   Description 65001   UTF-8 code page 950 Traditional Chinese 936 Simplified Chinese default GBK437 MS-dos US English    But setting the code through CHCP is a palliative. To permanently change the CMD encoding value requires modifying the registry   method one: Enter the registry through Regedit in the run to find Hkey_current_user\console\%systemroot%_ system32_cmd.exe  Create a new DWORD (32-bit value), named CodePage, the value is set to 65001  already have codepage, modify it, change it to decimal,65001  Method Two: I prefer this: Create a new cmd.reg content input as follows: Windows registry editor version 5.00 [hkey_current_user\ Console\%systemroot%_system32_cmd.exe] "CodePage" =dword:0000fde9 "FontFamily" =dword:00000036 "FontWeight" =dword:0 0000190 "FaceName" = "Consolas" "Screenbuffersize" =dword:232900d2 "WindowSize" =dword:002b00d2 after saving, double-click Cmd.reg. Cmd.reg I put a copy in Csdn, too.:http://download.csdn.net/detail/taoshujian/9770251  reprinted from: http://blog.csdn.net/ taoshujian/article/details/60325996

Workaround for Windows console cmd garbled (and permanently modified encoding)

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.