Some txt files that can be opened in windows are opened in gedit In Ubuntu. Chinese characters are garbled because of different encoding methods, in windows, some txt files are encoded in gbk, while gedit in Ubuntu does not support gdk by default. Therefore, you need to manually configure them in the menu -- & gt; SystemTool -- & gt; configurationEditor/app/gedit-2/preference/encor
Some txt files that can be opened in windows are opened in gedit In Ubuntu. Chinese characters are garbled because of different encoding methods, in windows, some txt files are encoded in gbk, while in Ubuntu, gedit does not support gdk by default. Therefore, you need to manually configure it, in the menu --> System Tool --> Configuration Editor/app/gedit-2/preference/encordings contains an auto-detect, followed by gbk, gb ###### and so on. If you cannot, place the above.
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.