Search code examples
git-bashconemumintty

How do I change charset / locale in conemu?


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?


Solution

  • 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.