How to view UTF-8 Characters in VIM or Gvim

前端 未结 9 1155
天命终不由人
天命终不由人 2020-12-12 11:01

I work on webpages involving Non-English scripts from time to time, most of them uses utf-8 charset, VIM and Gvim does not display UTF-8 Characters correctly.

Using

9条回答
  •  没有蜡笔的小新
    2020-12-12 11:34

    this work for me and do not need change any config file

    vim --cmd "set encoding=utf8" --cmd "set fileencoding=utf8" fileToOpen

提交回复
热议问题