System: CentoOS6.5 kernel: linux2.6.32 to open the txt file garbled solution: step: 1 Command: # gconf-editor prompts that there is no gconf-editor command, which requires the installation of gconf-editor. 2. install gconf-editor &
System: CentoOS 6.5
Kernel: linux 2.6.32
The solution to opening txt file garbled characters is as follows:
Steps:
1. Command: # gconf-editor
The prompt is that the gconf-editor command is not available. Therefore, you need to install gconf-editor.
2. install gconf-editor
Command: # sudo yum install gconf-editor
3. continue with the first command (you do not need to add sudo before)
4 configuration
Choose apps> gedit-2> preferences> auto-detected in encodings. in the double-click dialog box, add GB18030, GBK, GB2312, and then move GB18030, GB2312 to the top.
5. double-click the txt file to be opened and select Display in the displayed dialog box.