From 6b2c763ebe000d6923736da203d9070500f8e568 Mon Sep 17 00:00:00 2001 From: Bob Hiestand Date: Tue, 27 Sep 2011 15:38:48 -0500 Subject: [PATCH] Protect against systems without +mbyte. --- plugin/vcscommand.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.4.GIT