gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8','GB18030', 'GB2312', 'GBK', 'BIG5','CURRENT','UTF-16']"
ok,解決!java