Home>Article>Operation and Maintenance> How to modify the default encoding of Windows system
Environment of this article: win10
Background of this article:
After using 7z to decompress a .zip file, I found that the file name in the file package was garbled. , but using the same version of 7z to decompress under another win10 system, there is no such problem.
(Related recommendations:windows system)
Cause of the problem:
is a problem with the default encoding of win10, because this time the computer was purchased overseas. Yes, the default encoding format is 437 (chcp); it is not win10's gbk; so garbled characters will appear when encountering Chinese.
Solution:
Some tutorials on the Internet are as follows:
Control Panel—Date and Time Language Area—Language Options—Advanced—Non-Unicode Part. But there is no language option in the control panel in this system...
Why does my WIN10 control panel have no language option?
Preview version RS4 1803 version, this version has canceled the language option and change input method option in the control panel.
After finding it, perform the following operations:
The system will prompt you to restart, just restart.
SKILLSGET
chcp #查看当前cmd的编码格式 chcp 65001 #换成utf-8代码页 chcp 936 #换成默认的gbk chcp 437 #美国英语
The above is the detailed content of How to modify the default encoding of Windows system. For more information, please follow other related articles on the PHP Chinese website!