Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim show strange  characters over putty

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

like image 752
Jeremy S. Avatar asked Feb 17 '11 09:02

Jeremy S.


1 Answers

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.

like image 113
hobbs Avatar answered Oct 15 '22 23:10

hobbs