本文介绍了Vim在腻子上显示奇怪的字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在Vim中编辑一个文件时,我会看到一些带有
的行。
p>
:设置编码
$ b b
它说utf8
encoding = utf8
任何人都知道这是从哪里来的,以及如何停止
这种行为?
p>
Jeremy
解决方案
确保PuTTY设置为UTF-好。您可以在窗口 - >翻译 - >远程字符集下执行此操作。您可能需要选择支持Unicode范围的合理部分的字体 - 终端不一定会剪切它。
When I am editing a file in Vim I have some lines with a bunchof  displayed.
I have already checked the encoding with
:set encoding
It says utf8
encoding=utf8
Anybody knows where this is comming from and how to stopthis behaviour?
Regards,
Jeremy
解决方案
Make sure that PuTTY is set for UTF-8 as well. You can do this under Window -> Translation -> Remote Character Set. You may need to choose a font that supports a reasonable portion of the Unicode range as well -- Terminal isn't necessarily going to cut it.
这篇关于Vim在腻子上显示奇怪的字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!