http://blog.csdn.net/cywosp/article/details/32325449
2016-06-19 23:02
330 查看
在中文支持配置还不完整的Ubuntu 14.04中,使用gedit打开带有中文字符的文件有时会出现乱码的情况,这是由于gedit对字符编码匹配不正确导致的,解决方法如下:
在终端中输入如下命令,然后重新打开gedit即可:
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']"
在终端中输入如下命令,然后重新打开gedit即可:
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']"
相关文章推荐
- logwatch配置笔记
- Rails on Ubuntu常见问题及解决方法
- 172. Factorial Trailing Zeroes
- 出现Lock-Wait锁等待,怎么解决
- 当管理遇上AI,会发生什么
- containsKey方法——判断是否包含指定的键名
- 第十八章 并发登录人数控制——《跟我学Shiro》(http://blog.csdn.net/lhacker/article/details/19334305)
- leetcode 11. Container With Most Water
- 论文笔记之:Learning Multi-Domain Convolutional Neural Networks for Visual Tracking
- mail命令入门及进阶
- mail工具的安装、配置及问题处理
- 安装Tair及配置测试
- Acdream 1420 High Speed Trains(大数 + 容斥原理)
- http://blog.csdn.net/change518/article/details/8004827
- SwingUtilities.invokeLater()和invokeAndWait()的使用
- leetcode 172 Factorial Trailing Zeroes
- 4-3使用mailto在网页中链接Email地址
- Google人工智能平台TensorFlow介绍
- 关于AIDL一些需要注意的地方
- pybrain的安装及使用