终端输入 sudo apt-get install dconf-tools 安装,然后输入sudo dconf-editor调出dconf-editor 依次点开 org->gnome->gedit->prefrences->encoding中的auto-detected的value改为:['GB18030', 'GB2312', 'GBK', 'UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16'],直接回车保存就好!!