emacs中的ansi-term中的奇怪角色 [英] Strange characters in ansi-term in emacs
本文介绍了emacs中的ansi-term中的奇怪角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果需要,错误是我没有声明变量n。如何纠正?
解决方案
啊!测试了这个...
(setq locale-coding-system'utf-8)
(set-terminal-编码系统'utf-8-unix)
(set-keyboard-coding-system'utf-8)
(set-selection-coding-system'utf-8)
-coding-system'utf-8)
并解决问题!!!
I wrote a c++ program and when I compiled it using g++ in ansi-term, I got some strange characters displayed:
If required, the error was that i hadn't declared the variable n. How can I correct this?
解决方案
Ah! Tested this...
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8-unix)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
and problem solved!!!
这篇关于emacs中的ansi-term中的奇怪角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文