中文 English

Vim opens the file with Chinese garbled characters

Published: 2021-05-15 · 阅读量 --
vim Linux

Solution

set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8

Comments

Sign in with GitHub to comment. Chinese and English versions share the same discussion. Discuss on GitHub

本文阅读量 --