修改win7编码为utf-8

cmd.reg文件如下:
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

双击运行后,在cmd中输入chcp即可看到是65001了,也就是utf-8编码

从utf-8改为gbk的.reg文件是:

Windows Registry Editor Version 5.00  
  


[HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe]  
  
"CodePage"=dword:000003a8  
  
"FontFamily"=dword:00000036  
  
"FontWeight"=dword:00000190  
  
"FaceName"="Consolas"  
  
"ScreenBufferSize"=dword:232900d2  
  
"WindowSize"=dword:002b00d2  

你可能感兴趣的:(Windows)