Git Bash Here 中文显示乱码的处理方法

281 阅读1分钟

在使用open Git Bash Here时,遇到中文显示乱码问题。

原因:通常是由于编码设置不正确导致的。

image.png

open Git Bash Here —>鼠标右击空白处,点击「选项」|或「Options」

image.png

「文本」或 「Text」选项卡中,找到locale字符集 | Character set,把 Local 设置为zh_CN, Character set 设置为GBK

image.png

点击"应用" 或Apply, 然后点击保存Save

image.png

确认更改并重启Git Bash here

image.png