smartgit 中文乱码问题解决

使用最新的smartgit 4.0.5的时候,发现版本比较时,如果有中文会乱码(3点几版本时中文是横过来的,就没过多关心),哪怕源文件已经是UTF8的编码。(这里偷偷告诉你下:3的keygen可以适用于4.0.5酷

搜索发现smartgit能自动识别带BOM的utf8,但是无BOM的utf8不能识别。

这时,可以通过修改respository的设置的text-encoding指定到utf8即可。如下图所示:



 参考文章:

http://smartgit.3668570.n2.nabble.com/SmartGit-diff-window-and-UTF-8-without-BOM-td7573362.html

猜你喜欢

转载自gagaboy.iteye.com/blog/1852774