txt双击默认gedit打开,修改gedit自动检测编码的顺序,就可以搞定中文乱码的问题,命令如下
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'GB18030', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"
txt双击默认gedit打开,修改gedit自动检测编码的顺序,就可以搞定中文乱码的问题,命令如下
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'GB18030', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"