cmd.exe 里加启动命令
https://superuser.com/questions/269818/change-default-code-page-of-windows-console-to-utf-8
To change the codepage for the console only, do the following:
- Start -> Run -> regedit
- Go to
[HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\Autorun]
- Change the value to
@chcp 65001>nul
不想改windows 语言设置,所以总要在cmd.exe 启动后,加 chcp 437 ,很麻烦。
用下面的文章 -cmd /K chcp 437, 舒服多了。