Ubuntu system gedit appears Chinese garbled two solutions

  
ubuntu gedit Chinese garbled looks very annoying, this article provides two solutions, terminal command line approach or graphical interface operation path, in fact, the principle is to increase the coding type, the problem is shown below Figure, view the contents of the document, find garbled
Method 1: Terminal path
1, open the terminal
2, enter the following content in the terminal, enter
Copy content to the clipboard
gconftool -2 --set --type=list --list-type=string /apps/gedit-2/preferences/encodings/auto_detected "[UTF-8,CURRENT,GB18030,BIG5-HKSCS,UTF-16]"
Method 2: Graphical Interface Path
1. While holding down Alt-F2, open “Run Application"Window
2. Enter "gconf-editor", click “Run“, enter Configuration Editor Interface
3. Click on the ”+“ on the left to find /apps/gedit-2/preferences/encodings and click
4, right auto_detected, click “Edit Key”
5, click “ Add”, enter "GB18030" in the new list value, click OK
6, select the bottom of the list “ GB18030”, click on the right “Up” until “GB18030” moves to the top of the list
Copyright © Windows knowledge All Rights Reserved