Ubuntu 12.04解决txt文档中文乱码方法:
$ gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030','GB2312','GBK','BIG5','CURRENT','UTF-16']"
$ gsettings set org.gnome.gedit.preferences.encodings shown-in-menu "['GB18030','GB2312','GBK','BIG5','CURRENT','UTF-16']"
转载于:https://blog.51cto.com/yangzhiming/1133148