linux-ubuntu txt乱码

网上给出的方法是,

1. 打开终端,在其中输入命令:

#gconf-editor

并回车。

2. 在新开的窗口里,在左边依次展开“apps”、“gedit-2”、“preferences”、“encodings”。

 

结果我打开preference,里面没有encodings。

有网友说:

12.04是新版本的,输入下面的命令:

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

然后回车。

我试过后,preference,里面出现了encodings。。。然后把gb18030 上升。问题解决了。

posted on 2012-07-13 17:30  NLP新手  阅读(288)  评论(0编辑  收藏  举报

导航