ubuntu 12.04下gedit查看txt中文乱码解决办法


打开终端,分别输入一下两句命令



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']"

txt乱码问题解决!

你可能感兴趣的:(ubuntu 12.04下gedit查看txt中文乱码解决办法)