Fix: barbled multibyte text(exe. Japanese).

pull/2224/head
nekowasabi 4 years ago committed by GitHub
parent 874f7dd416
commit 407205e52b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,6 +50,9 @@ if s:is_win
" Use utf-8 for fzf.vim commands
" Return array of shell commands for cmd.exe
function! s:enc_to_cp(str)
if s:is_win && has('gui')
return iconv(a:str, 'utf-8', &encoding)
endif
if !has('iconv')
return a:str
endif

Loading…
Cancel
Save