On Monday, August 5, 2013 7:05:39 PM UTC+9, Tony Mechelynck wrote:
<snip>
> 1. What is 'encoding' set to if you start Vim with no vimrc?
> 
>       vim -u NORC -N

cp932

> 2. When running normally, what is 'termencoding' set to? If it is the 
> empty string (which is the defaut) try using the code snippet from 
> http://vim.wikia.com/wiki/Working_with_Unicode and see if you get a 
> better result.

No, it must set encoding that command prompt can treat. It must not depend on 
vim's termencoding.

> I'm assuming you're talking about Console Vim (vim.exe, if on Windows) 
> and not GUI Vim (aka gvim).

I'm talking CUI/GUI both. When ":!echo XXX", it run cmd.exe /c (...) and pass 
the arguments. So evenhough if GUI is running, it should convert argument 
strings into CUI's encoding.

Thanks.

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