Yasuhiro mattn wrote:

> When enc=utf-8, vim pass the command arguments as utf-8 string on
> windows. Thus, :grep doesn't work with multbyte string. If ACP is
> CP932 and type ":echo XXX" as utf-8, vim calls:
> 
> cmd /c (echo XXX)
> 
> If XXX is 3 byte utf-8 string, windows command prompt treat the arguments 
> like "XXX)".
> 
> https://gist.github.com/mattn/6153332
> 
> Please check.

Thanks.  I wonder why nobody reported a problem with this before.  Just
not so many users in this situation or are they not using multi-byte
characters with external commands?

:vimgrep works properly, right?

-- 
hundred-and-one symptoms of being an internet addict:
51. You put a pillow case over your laptop so your lover doesn't see it while
    you are pretending to catch your breath.

 /// 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/groups/opt_out.


Raspunde prin e-mail lui