It is garbled to open the. txt file by double hitting with your gedit.
Solution: 1. Terminal input: gconf-Editor
Open in turn; apps-gedit2-preferences-encodings
Double-click "auto_detected" on the right. In the double-click pop-up dialog box, add gb18030, GBK, and gb2312 to the top, and move gb18030, gb2312 to the top. (The differences between gb2312, gb18030, and GBK, see PS-Info at the end of the article) ========================================================== =============================== 2,
In
Right-click the applications menu and choose edit menu. In the main menu dialog box, select System
Tools (System Tool)-configuration Editor, Which is enabled from the applications menu.
Turn on/apps/gedit-2/preferences/encodings/double-click auto_detected on the right, click Add in the pop-up dialog box, add values value to gb2312, OK, select, click the up button to move it to the first place.
Similarly, set show_in_menu and set gb2312 to the first place.
In the above method, you need to pin the GBK to use gedit to enable the GBK format document, but this will process the documents in other formats into garbled characters. A friendly method is that when opening the file, in the charater coding drop-down menu, select "add or remove... ", and then add GBK or gb18030.
PS-Info:
Gb2312 is the national standard for eight years
Gb18030 is the current National Standard
GBK is a foreign standard, covering various Asian languages