vim中對中文字元顯示為亂碼通過以下設定可以使中文字元正确的顯示出來: let &termencoding=&encoding set fileencodings=utf-8,gbk,ucs-bom,cp936