由于我不能要求别人保存txt文件时必须用utf-8,那我只能自己找解决办法:

 
打开终端输入:
 
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']"
 
gsettings set org.gnome.gedit.preferences.encodings shown-in-menu "['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT', 'UTF-16']"
 
解决乱码问题.

相关文章:

  • 2021-10-15
  • 2022-12-23
  • 2022-03-10
  • 2021-10-08
  • 2021-08-15
  • 2021-11-19
  • 2022-12-23
  • 2021-11-26
猜你喜欢
  • 2021-05-31
  • 2022-02-23
  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案