Vim show strange  characters over putty

前端 未结 2 1972
[愿得一人]
[愿得一人] 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: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.

提交回复
热议问题