Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 616
danday74 Avatar asked Feb 06 '23 06:02

danday74


1 Answers

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.

like image 151
VonC Avatar answered Mar 24 '23 12:03

VonC