Jeremy S.
Jeremy S.

Reputation: 6623

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

Upvotes: 27

Views: 19990

Answers (2)

hobbs
hobbs

Reputation: 239841

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.

Upvotes: 64

dogbane
dogbane

Reputation: 274562

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

:set encoding=latin1

Upvotes: 5

Related Questions