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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment