-->
Sometimes when we open some Chinese text file, vim can not show it properly, most of the problems are the problem of encoding.
To support gb18030, we need to install iconv in our system. If you use brew
, you can do like this
brew install libiconv
Then you can open your file, and run command like this:
:e ++enc=gb18030