ubuntu下 gedit中文乱码

Gedit 3.x 版本设置 (适用于Ubuntu 11.10及以后)

命令方式

gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"

 

Gedit 2.x 版本设置

 gconftool-2 --set --type=list --list-type=string /apps/gedit-2/preferences/encodings/auto_detected "[GB18030,UTF-8,CURRENT,ISO-8859-15,UTF-16]"

 

你可能感兴趣的:(ubuntu)