开发者

Vim show strange  characters over putty

开发者 https://www.devze.com 2023-02-11 20:31 出处:网络
When I am editing a file in Vim I have开发者_Go百科 some lines with a bunch of  displayed. I have already checked the encoding with

When I am editing a file in Vim I have开发者_Go百科 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.


Does it appear when you type the British Pound symbol? Try changing your encoding:

:set encoding=latin1
0

精彩评论

暂无评论...
验证码 换一张
取 消