Home  >  Article  >  Operation and Maintenance  >  What to do if centos gedit Chinese garbled characters

What to do if centos gedit Chinese garbled characters

藏色散人
藏色散人Original
2022-01-27 16:20:252220browse

Solution to centos gedit Chinese garbled characters: 1. Open the terminal; 2. Enter the command "gsettings set org.gnome.gedit.preferences.encodings auto-detected "[...]"".

What to do if centos gedit Chinese garbled characters

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn