system() is not working with multibyte character.

gvim7.3.450.exe -u NONE
:set encoding=utf-8

:echo system('C:\cygwin-1.7\bin\curl -L -s -k -i 
"http://vim.g.hatena.ne.jp/keyword/選択されたテキストの取得";')
E484: Can't open file c:/cygwin-1.7/tmp/VIo1614.tmp

:echo system('C:\cygwin-1.7\bin\curl -L -s -k -i 
http://vim.g.hatena.ne.jp/keyword/選択されたテキストの取得')
although it seems to have succeeded, the multibyte character is garbled.


:echo system('C:\cygwin-1.7\bin\curl -L -s -k -i 
"http://vim.g.hatena.ne.jp/keyword/%E9%81%B8%E6%8A%9E%E3%81%95%E3%82%8C%E3%81%9F%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%81%AE%E5%8F%96%E5%BE%97";')
:echo system('C:\cygwin-1.7\bin\curl -L -s -k -i 
http://vim.g.hatena.ne.jp/keyword/%E9%81%B8%E6%8A%9E%E3%81%95%E3%82%8C%E3%81%9F%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%81%AE%E5%8F%96%E5%BE%97')
is working.

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