2009-07-18

Display Chinese TXT File in Vim/Emacs

For Vim, put the following line in ~/.vimrc:
set fileencodings=utf-8,cp936


For Emacs, add the following to ~/.emacs:
(custom-set-variables
'(current-language-environment "Chinese-GB"))

标签: ,

0 Comments:

发表评论

<< Home