Http://jingyan.baidu.com/article/1709ad80a443c54634c4f09c.html
Press the keyboard alt and F2, you can open the "Run Program" dialog, which is similar to the Windows system "Start---> Run", as long as we enter the program name inside, we can start the corresponding program
In the input box below enter: Gconf-editor, then click on the bottom right of "run", you can run Gconf-editor this program. The exact operation is as follows:
Gconf-editor program after running as shown, in fact, it is an editor configuration program, we have to do is to make some settings in this.
Double-click "Apps" in the list on the left to open the apps list as shown in:
Below the list we find "Gedit-2" double-click and open, then double-click "Preferences" in the opening, and finally select "encodings" as shown:
We double-click on the "Auto_detected" item on the list on the right, open the "Edit key" Setting interface, then click "Add" button to add a new encoding and decoding method, as shown in:
In the "Add New List Entry" box that pops up, enter: GB18030, then click OK.
So the GB18030 we add will appear at the bottom of the values list, and what we're going to do now is move it to the top, select GB18030, and then click the "Up" button until the GB18030 moves to the top.
GB18030 codec move to the top, we click on the right bottom of the OK button to close the Configuration Editor settings interface, so far, we have been set to open the Chinese file will not garbled, next we open our previous garbled file to verify.
We go back to where we saved the file, open the file, then the file can be displayed normally, no garbled, as shown in:
END
How to solve the problem of gedit Chinese characters in Linux (Ubuntu/centos)