红联Linux门户
Linux帮助

ubuntu14.04解决记事本乱码问题

发布时间:2016-01-01 10:33:10来源:linux网站作者:niliu183

1.只需在终端下输入以下两个命令:
settings 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']"


2.重新打开gedit即可!


Ubuntu下Gedit打开Windows记事本.txt文件乱码解决:http://www.linuxdiyf.com/linux/11761.html