当前位置: > CentOS > CentOS故障 >

CentoOS中打开txt文件中文乱码问题

时间:2014-07-10 10:00来源:linux.it.net.cn 作者:IT网

系统:CentoOS 6.5

内核:linux 2.6.32

打开txt文件乱码的解决如下:

步骤:

1》命令:#gconf-editor
      提示没有gconf-editor命令,这需要安装gconf-editor。

2》安装gconf-editor
      命令:#sudo yum install gconf-editor

3》继续第一步命令(前面不需要加sudo)
 
4》配置
     
     依次点开
 
      apps->gedit-2->preferences->encodings 中的auto-detected
 
      在双击弹出对话框中加入GB18030,GBK,GB2312,然后将GB18030,GB2312移到最上。

5》双击要打开的txt文件,在弹出来的对话框中选Display即可。
(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容