Fedora gedit 打開txt文件亂碼

編碼格式不一樣,fedora打開windows下的文本文件常常出現亂碼。windows

解決辦法
編碼

終端輸入命令:spa

$ gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'GB18030', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"
$ gsettings set org.gnome.gedit.preferences.encodings shown-in-menu "['UTF-8', 'GB18030', 'GB2312', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"it

相關文章
相關標籤/搜索