Gnome 3 gedit GBK乱码 » 荒野无灯weblog

Keep It Simple, Stupid.

荒野无灯weblog

Gnome 3 gedit GBK乱码

现在的版本中, 原来的key auto-detected 变成了candidate-encodings

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

gsettings get org.gnome.gedit.preferences.encodings candidate-encodings
['UTF-8', 'GB18030', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']

也可以用GUI工具 dconf-editor 打开:

--EOF

Tagged in :

All Comments (1)
Gravatar image
Gravatar image
多啦拉的崇拜
博主你用的archlinux?