13
7
I'm have this really strange problem in Vim using the NERD tree plugin, where, as you can see in the picture, the characters are showing up very strange. Where there is the ahat, ~V 3/4 it should be |-. I've set my LANG to en_US and LC_ALL to en_US (in Arch linux), and am using the Anonymous Pro font, although switching the font makes no difference.
It looks like a charset problem. Your plugin is using the UTF-8 charset while your gvim is probably expecting latin1. I'm sorry I don't have a more complete solution at the moment. You could try executing "
:set fenc=utf-8
", but that's not really the long-term solution. – garyjohn – 2012-02-09T05:42:18.5801It indeed looks like a character encoding issue. My guess is that the data contains ├ (BOX DRAWINGS LIGHT VERTICAL AND RIGHT, U+251C), which is 0xE2 0x94 0x9C in UTF-8. Interpreted as ISO-8859-1, the first byte is â, the others are control codes. The rest is obscure, but forcing the interpretation of the data to UTF-8 should throw some light to the problem. – Jukka K. Korpela – 2012-02-09T06:22:53.370
Ok yes the box drawing makes sense, I always thought it was just a bar and dash. Anonymous Pro has the box drawing characters. – Tanner – 2012-02-09T15:22:04.867
@Tom Wijsman I'm not sure what you changed about the title. Your edit says you edited the title, but nothing was changed. – Tanner – 2012-04-11T23:47:26.827
@Tanner: I have added "What could cause" and a question mark. – Tamara Wijsman – 2012-04-11T23:49:20.747