Hirohito Higashi wrote:

> Hi Bram and list,
> 
> How to reproduce:
> - Start naked Vim with some options.
>   $ vim -Nu NONE --cmd "set enc=cp932 tenc=utf8" -c "set nf+=alpha"
> 
> - Enter insert mode and type 山1 and leave insert mode.
>   i山1<Esc>
> 
> - Cursor move to top of line and type <C-A> in normal mode.
>   0<C-A>
> 
> Expected behavior:
> - The following string is displayed.
>   山2
> 
> Actual behavior:
> - There is generating garbled.
>   S1
> 
> 
> I wrote a patch.
> Please include this.

Thanks!
Would be nice to also have a test.  I'll include it anyway.

-- 
hundred-and-one symptoms of being an internet addict:
118. You are on a first-name basis with your ISP's staff.

 /// Bram Moolenaar -- [email protected] -- 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui