소스 검색

Convert Vim command output to Unicode

micbou 7 년 전
부모
커밋
5d2258bdd4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      python/ycm/vimsupport.py

+ 1 - 1
python/ycm/vimsupport.py

@@ -175,7 +175,7 @@ def CaptureVimCommand( command ):
   vim.command( 'redir => b:ycm_command' )
   vim.command( 'silent! {}'.format( command ) )
   vim.command( 'redir END' )
-  output = vim.eval( 'b:ycm_command' )
+  output = ToUnicode( vim.eval( 'b:ycm_command' ) )
   vim.command( 'unlet b:ycm_command' )
   return output