Ubuntu16 gedit 中文乱码

来源:互联网 发布:perl和python哪个好 编辑:程序博客网 时间:2024/05/22 07:05

官方:

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!


原创粉丝点击