使用unicad就可讓Emacs在打開文件時自動識別文件編碼並自動切換。google
unicad
unicad項目地址:https://code.google.com/p/unicad/wiki/FAQ_Chinese編碼