Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magit 的乱码问题 #8

Closed
Liu233w opened this issue Oct 13, 2016 · 0 comments
Closed

magit 的乱码问题 #8

Liu233w opened this issue Oct 13, 2016 · 0 comments
Labels

Comments

@Liu233w
Copy link
Owner

Liu233w commented Oct 13, 2016

magit 打开之后中文是乱码。

经测试把

(set-language-environment "chinese-gbk")
注释掉之后不会乱码,同时 python 的命令行运行没有中文乱码、cmd没有乱码。但是 send-region 的运行方式仍然有乱码(org没有测试)。

经检查, python inferior 在默认 process I/O 编码是 chinese-gbk-dos 的时候能够正常显示,删去那一行之后编码变为 utf-8-dos ,无法正常显示。在inferior中执行带中文字符的代码之后python会异常终止,因为无法解析中文字符。而magit连接的git却可以正常工作。

@Liu233w Liu233w added the bug label Oct 21, 2016
@Liu233w Liu233w mentioned this issue Dec 5, 2016
@Liu233w Liu233w closed this as completed in 7ffbd86 Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant