Paul W. Harvey wrote: > Normally I happily live in a 7-bit ASCII world, but recently I've > become involved in writing unicode tests for a perl project, Foswiki. > > I think I've discovered a cursor positioning/rendering bug in vim 7.2 > with devanagari script (used for Hindi language). > > Here's the offending line (also at http://pastebin.com/tWSTnAdw): > > my @test = ( 'wiki', 'â日本語é', 'çमानक हिन्दीà' ); > > 1. The problem is with the devanagari characters. There's only six of > them: but 9-ish (3 extraneous circle things) are displayed > 2. Go to end of line > 3. Observe that cursor doesn't go completely to end of line. Cursor goes > to closing quote ' only > 4. Move cursor left, character-at-a-time (arrow or h) > 5. Before you've reached the Kanji characters, one of the devanagari > characters is replaced with an extraneous ')' > > I'm using gnome-terminal with these envars set: > GDM_LANG="en_AU.utf8"
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. > nano, cat and less all seem to work fine. > > My vim is from debian-testing, output of vim --version begins with: > > VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 7 2011 15:00:54) > Included patches: 1-154 [...] -- "After a few years of marriage a man can look right at a woman without seeing her and a woman can see right through a man without looking at him." - Helen Rowland /// 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