rootdream 2013-04-03
1.Gedit 中文乱码
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'UTF-8', 'GB2313', 'GBK', 'BIG5', 'CURRENT', 'UTF-16']"
打开vim的配置文件,位置在/etc/vim/vimrc
在其中加入
set fileencodings=utf-8,gb2312,gbk,gb18030
set termencoding=utf-8
set encoding=prc