Vim show strange  characters over putty

前端 未结 2 1971
[愿得一人]
[愿得一人] 2021-01-31 17:35

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

相关标签:
2条回答
  • 2021-01-31 18:21

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

    :set encoding=latin1
    
    0 讨论(0)
  • 2021-01-31 18:31

    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.

    0 讨论(0)
提交回复
热议问题