public
Created

  • Download Gist
test10.vim
VimL
1 2 3 4 5 6
scriptencoding utf-8
set encoding=utf-8
let url = "http://vim.g.hatena.ne.jp/keyword/選択されたテキストの取得"
let url = iconv(url, &encoding, "char")
echo len(system(printf('curl -L -s -k -i "%s"', url)))."\n"
echo len(system(printf('curl -L -s -k -i %s', url)))."\n"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.