ubuntu下gedit查看txt中文乱码解决办法

在终端下输入以下命令:

gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']"
gsettings set org.gnome.gedit.preferences.encodings shown-in-menu "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']"

即可解决

posted @ 2012-12-29 11:37  Taskiller  阅读(181)  评论(0编辑  收藏  举报