CentOS 7 gedit编辑器中文乱码解决方法

无需root登陆

打开终端输入如下命令:

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

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

原文地址:https://www.cnblogs.com/hfyfpga/p/5451906.html