如何更改圆锥木中的字符集/语言环境? [英] How do I change charset / locale in conemu?

查看:84
本文介绍了如何更改圆锥木中的字符集/语言环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过锥木使用gitbash.

I am using gitbash via conemu.

我遇到了一个字符集问题,即直接通过圆锥木和gitbash在gitbash中的字符看起来不正确.

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

我通过将.minttyrc中的语言环境设置为..来修复它在gitbash中的问题.

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

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

但是当通过圆锥木启动时,这不能在gitbash中修复.

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

有什么想法我可以更改圆锥设置以解决语言环境或让它使用.minttyrc设置吗?

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

推荐答案

如" Windows 10命令上的git log输出编码问题所述提示",您可以检查自己的会话是否是

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

  • 使用Consolas字体
  • 已设置LC_ALL变量:

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

set LC_ALL=C.UTF-8

然后检查git bash是否仍然显示错误的字符集.

Check then if git bash still display the wrong charset.

这篇关于如何更改圆锥木中的字符集/语言环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆