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 the output of Chinese garbled in cmd
The workaround is as follows: Enter CHCP 65001 in cmd
Press Enter and 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 in the run through Regedit to find Hkey_current_user\console\%systemroot%_system32_ Cmd.exe Create a new DWORD (32-bit value), named CodePage, with the value set to 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:00000190" FaceName "=" Consolas "" Screenbuffersize "=dword:232900d2" WindowSize "=dword:002b00d2
Once saved, double-click Cmd.reg. Cmd.reg I also put a copy in csdn: http://download.csdn.net/detail/taoshujian/9770251 from:http://blog.csdn.net/taoshujian/ article/details/60325996
"Go" Windows console cmd garbled solution