Ubuntu16 gedit 中文乱码

官方:

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

系统返回: No such key 'auto-detected'

命令dconf-editor,查看已经没有auto-detected键,改用candidate-encodings键,所以命令改为

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


done!


你可能感兴趣的:(Ubuntu16 gedit 中文乱码)