Home > Article > Operation and Maintenance > What to do if centos gedit Chinese garbled characters
Solution to centos gedit Chinese garbled characters: 1. Open the terminal; 2. Enter the command "gsettings set org.gnome.gedit.preferences.encodings auto-detected "[...]"".
The operating environment of this article: CentOS 7 system, DELL G3 computer
centos gedit What should I do if the Chinese characters are garbled?
CentOS 7 gedit editor Chinese garbled solution
No root login required
Open the terminal and enter the following command:
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’]”
Recommendation:《centos usage tutorial》
The above is the detailed content of What to do if centos gedit Chinese garbled characters. For more information, please follow other related articles on the PHP Chinese website!