From 7bf651e530e21e82700a0817d9e561263b4f317c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Blinkiewicz?= Date: Fri, 30 Aug 2013 21:10:56 +0200 Subject: [PATCH] shell commands encoding fix --- autoload/vundle/installer.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 8386aae..1c49333 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -270,7 +270,8 @@ func! g:shellesc_cd(cmd) abort endf func! s:system(cmd) abort - return system(a:cmd) + let cmd = iconv(a:cmd, &encoding, &termencoding) + return system(cmd) endf func! s:log(str) abort