网上找的,都是你抄我,我抄你,试了几个都是格式都错了.晕.
最终经过尝试如下:
1. 安装:
sudo apt install dconf-editor
sudo dconf-editor
2. 找到如下路小径:
org -> gnome -> gedit -> preferences -> encodings -> candidate-encodings
把 [''] 改成如下:
['UTF-8', 'GB2312', 'GB18030', 'GBK']
3. 然后重启就可了