标签:ubuntu 14.04 txt 乱码 gedit ubuntu
刚才在ubuntu14.04中用gedit打开windows下的txt文件出现乱码
解决办法如下:
1.gsettings set org.gnome.gedit.preferences.encodings auto-detected
"[‘GB18030‘, ‘GB2312‘, ‘GBK‘, ‘UTF-8‘, ‘BIG5‘, ‘CURRENT‘, ‘UTF-16‘]"
2.gsettings set org.gnome.gedit.preferences.encodings shown-in-menu
"[‘GB18030‘, ‘GB2312‘, ‘GBK‘, ‘UTF-8‘, ‘BIG5‘, ‘CURRENT‘, ‘UTF-16‘]"
Ubuntu14.04 gedit 打开windows下txt乱码问题
标签:ubuntu 14.04 txt 乱码 gedit ubuntu
原文地址:http://blog.csdn.net/zhaoyayua/article/details/38927723