From: Bob Hiestand Date: Tue, 27 Sep 2011 20:38:48 +0000 (-0500) Subject: Protect against systems without +mbyte. X-Git-Tag: v1.99.44~5 X-Git-Url: https://repo.or.cz/w/vcscommand.git/commitdiff_plain/6b2c763ebe000d6923736da203d9070500f8e568 Protect against systems without +mbyte. --- diff --git a/plugin/vcscommand.vim b/plugin/vcscommand.vim index 349513e..6e2a1cd 100644 --- a/plugin/vcscommand.vim +++ b/plugin/vcscommand.vim @@ -383,7 +383,7 @@ function! s:VCSCommandUtility.system(...) set sxq=\" endif try - if exists('*iconv') + if exists('*iconv') && has('multi_byte') return iconv(call('system', a:000), &tenc, &enc) endif return call('system', a:000)