ubuntu:
直接在终端输入:
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'GB18030', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
即可
mint:
直接在终端输入:
gconftool-2 --set --type=list --list-type=string /apps/gedit-2/preferences/encodings/auto_detected "[UTF-8,CURRENT,GB18030,ISO-8859-15,UTF-16]"