applidium/Vim

High-Ascii lost in right-left overrun

Opened this issue · 0 comments

With VIM in the iPad, running IOS 7.0.2

set enc=utf-8
set tenc=utf-8
set fenc=latin-1
set fencs=latin-1

In insert mode: most things work as expected, when I'm writing "normal text" using the 28 characters of our Swedish alphabet (that is as the English alphabet + 3 more characters; a-ring, a-umlaut and o-umlaut, sorted in that order after z of in the uk/us...)

Back in visual mode, when I move leftwards (using h-key) over a word with one of the 3 high letters, the character after that high one will be replaced by a space. When moving back towards right (using l-key), the lost (hidden) character will come back to be seen.

I guess this has something to do with the 2-byte character representation of "non-ASCII" characters that comes with "enc=utf-8".

Best regards, someone very happy with this fine tool,
/Göran Åhling