Ubuntu默认的打开.txt文件用的是gedit,gedit默认编码是UTF8,windows下txt编辑器用的gb2312。解决方法之一就是把gedit的编码改为GB2312,方法如下:

 

终端输入 gconf-editor 调出 gconf-edit

 

依次点开

apps->gedit-2->preferences->encodings 中的auto-detected

 

在双击弹出对话框中依次加入GB18030,GBK,GB2312,然后将GB18030,GB2312移到最上。

转自 http://wubolu.iteye.com/blog/836813

相关文章:

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