Paul W. Harvey wrote: > On 04/07/11 02:30, Bram Moolenaar wrote: > > Please try this in an xterm, in utf-8 mode. If it's still wrong there > > it might be a Vim bug. If it's OK in xterm it's probably a > > gnome-terminal bug. > > The fault persists with xterm. > > - Created the problem line of text using gedit, saved test.txt > - from gnome-terminal, xterm -r -en UTF-8 -e vim test.txt > - Observed the previously reported behaviour in vim > - from gnome-terminal, xterm -r -en UTF-8 -e nano a.txt > - Observed proper behaviour in nano > > It's worth noting that the Kanji characters seem fine. > > I'm ignorant of writing systems in general, especially devanagari > script, but I seems that vim is incorrectly rendering modifier/diacratic > marks as separate chars instead of combining them into the > modified/marked character. > > This would explain why the cursor falls short of the last few chars > rendered when trying to go to end of line.
I have no idea why the modifier chars aren't handled correctly, is there something special about them? One last thing to check is the 'ambiwidth' option. That's an annoying Unicode feature, requiring a manual setting. -- hundred-and-one symptoms of being an internet addict: 245. You use Real Audio to listen to a radio station from a distant city rather than turn on your stereo system. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php