Skip to content

Quickfix encoding problem when using Chinese or Japanese

Linwei edited this page Oct 27, 2016 · 5 revisions

If vim's 'encoding' is different with OS's encoding, output in quickfix window which contains CJK characters may failed, you need add these line to tell asyncrun the output of background command need to be convert to the same encoding as vim:

let g:asyncrun_encs = 'gbk'

Then everything works fine.