Yukihiro Nakadaira wrote:

> <f-args> breaks multi-byte character where the second byte is 0x5c when
> using DBCS encoding.
> 
> Steps to reproduce:
> 
>   :set encoding=cp932
>   :command -nargs=* Test :echo [<f-args>]
>   :execute "Test \u955c a b c"        (0x955c in cp932 is U+8868 in Unicode)
> 
>   Then, first argument is displayed as broken.
> 
> The following patch fixes this problem.
> Please check it.

Thanks, I'll include it (with an #ifdef).


-- 
hundred-and-one symptoms of being an internet addict:
109. You actually read -- and enjoy -- lists like this.

 /// 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

Raspunde prin e-mail lui