Ubuntu 11.10 Gedit中文乱码解决办法

试了很多方法,这个方法解决了问题!

这个博客做的也不错啊!

http://leo108.com/pid-975.asp

 

Gedit中文乱码问题已经困扰我好久了,之前的解决方案都是在gconf-editor的/apps/gedit-2/preferences/encodings接点添加GB18030,但是我升级到Ubuntu11.10后发现已经没有/apps/gedit-2/preferences/encodings这个节点了。

搜索之后才知道是因为gedit升级到3.X版本了,节点的位置改在了org/gnome/gedit/preferences/encoding。

所以方法就一样样的了

终端输入dconf-editor

展开org/gnome/gedit/preferences/encodings

auto-detected的value中加入   'GB18030',   加在uft8后面;

show-in-menu的value中加入'GB18030'

posted @ 2011-11-03 19:33  xinmeng1  阅读(545)  评论(0)    收藏  举报