Last Updated: February 25, 2016
·
2.78K
· xiaoba

Vim a file 'utf-16' encoded

Add this in your ~/.vimrc:

set fileencodings=utf-8,cp936,gbk,utf-16le