参考:cmd chcp命令切换字符格式_我是程序员-CSDN博客_chcp gbk
命令介绍:
chcp 65001 #换成utf-8代码页
chcp 936 #换成默认的gbk
chcp 437 #美国英语
一般默认为gbk,若要修改成 utf-8,则需要:
1、cmd窗口输入:chcp 65001
2、修改cmd属性:选择字体为“Lucida Console”
参考:cmd chcp命令切换字符格式_我是程序员-CSDN博客_chcp gbk
命令介绍:
chcp 65001 #换成utf-8代码页
chcp 936 #换成默认的gbk
chcp 437 #美国英语
一般默认为gbk,若要修改成 utf-8,则需要:
1、cmd窗口输入:chcp 65001
2、修改cmd属性:选择字体为“Lucida Console”