How do I change charset / locale in conemu?
Asked Answered
R

1

5

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?

Rightist answered 25/1, 2017 at 3:49 Comment(0)
K
10

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.

Knurly answered 25/1, 2017 at 5:17 Comment(1)
thanks man ... 4 hours later .... export LC_ALL=en_US.utf8 ... did the job ...... worth noting that ..... locale -a ...... outputs available localesRightist

© 2022 - 2024 — McMap. All rights reserved.