How do I change charset / locale in conemu?

戏子无情 提交于 2019-12-09 13:38:20

问题


I am using gitbash via conemu.

I have a charset issue where the chars look wrong in gitbash via conemu and gitbash directly.

I fixed it in gitbash by setting the locale in .minttyrc to ..

BoldAsFont=-1
Locale=en_US
Charset=UTF-8

But this doesn't fix it in gitbash when launched via conemu.

Any ideas where I would change conemu settings to address locale or to get it to pick up .minttyrc settings?


回答1:


As mentioned in "git log output encoding issues on Windows 10 command prompt", can you check your conemu session is:

  • using the Consolas font
  • has set the LC_ALL variable:

    set LC_ALL=C.UTF-8
    

Check then if git bash still display the wrong charset.



来源:https://stackoverflow.com/questions/41843079/how-do-i-change-charset-locale-in-conemu

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