Sourcetree 中文乱码解决。

此生再无相见时 提交于 2019-11-30 18:08:38

网上大多数人用下面的2步解决。但是这个我设置了没效果。

1、设置git的编码。

git config --global i18n.logoutputencoding utf-8
git config --global gui.encoding utf-8
git config --global core.quotepath false
#### 当前代码库的我也设置一下。
git config i18n.logoutputencoding utf-8
git config gui.encoding utf-8
git config core.quotepath false

2、设置“默认文本编码”。

英文界面, 在 ‘tools’->’option’->’general’中 找到 ‘default text encoding’ , 更改为 utf-8 中文界面, 在 ‘工具’->’选项’->’一般’中 找到 ‘默认文本编码’ , 更改为 utf-8

对我windows7系统有效果的方法。就是把 KB4055002 卸载了。

1、卸载KB4055002。

控制面板\系统和安全\Windows Update点击“安装更新”。搜索到“KB4055002”然后卸载(有些人是“KB4055022”)。

2、重启电脑。

要等一段时间才能重启完成。会显示“配置windows请勿关闭计算机”,等时间长了不能重启就手动重启。

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!