How do I change charset / locale in conemu?

匿名 (未验证) 提交于 2019-12-03 02:20:02

问题:

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.



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