Vim在腻子上显示奇怪的字符 [英] Vim show strange  characters over putty

查看:221
本文介绍了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 bunch of  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 stop this 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在腻子上显示奇怪的字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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