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)