解决gedit打开GBK编码文件乱码的问题
gedit打开GBK编码的文件时显示为乱码,需做以下设置:
(1)确认dconf-editor已经安装
(2)运行dconf-editor,在org/gnome/gedit/preferences/encodings中,设auto-detected的值为
['UTF-8', 'GB2312', 'CURRENT', 'ISO-8859-15', 'UTF-16']
(1)确认dconf-editor已经安装
(2)运行dconf-editor,在org/gnome/gedit/preferences/encodings中,设auto-detected的值为
['UTF-8', 'GB2312', 'CURRENT', 'ISO-8859-15', 'UTF-16']