Ubuntu12.04,终端中分别输入下面两条指令:spa
1 gsettings set org.gnome.gedit.preferences.encodings auto-detected “['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']” 2 gsettings set org.gnome.gedit.preferences.encodings shown-in-menu “['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']”
若是提示参数出错,那是上面中的双引号变成中文的了,把它改成英文的双引号就能够了。.net
参考来源:http://www.maybe520.net/blog/361/code