转载地址:http://apps.hi.baidu.com/share/detail/10311333

刚装ubuntu后,打开windows下的TXT文件就会发现无法显示中文,出现大量乱码。
这时候需要设置一下。
在终端打:
gconf-editor                            //调出gconf-edit
然后依次点开:
apps->gedit-2->preferences->encodings
双击encodings中的auto-detected
在弹开的对话框中加入
GB18030,GBK,GB2312
ubuntu下txt文件中文显示乱码的方法【转载】
再将GB18030,GB2312移到最上
ubuntu下txt文件中文显示乱码的方法【转载】
接着确定退出就OK了

看看效果图
解决前ubuntu下txt文件中文显示乱码的方法【转载】

解决后
ubuntu下txt文件中文显示乱码的方法【转载】

http://hi.baidu.com/little%D5%C1/blog/item/41fec93dc789d2e055e723f2.html

相关文章:

  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-07-05
  • 2021-10-15
猜你喜欢
  • 2022-12-23
  • 2021-10-02
  • 2022-12-23
  • 2021-11-22
  • 2021-07-16
  • 2021-08-05
  • 2022-12-23
相关资源
相似解决方案