gedit 显示乱码,打开终端输入,如下命令:
gsettings set org.gnome.gedit.preferences.encodings auto-detected"['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT','UTF-16']"
vim 显示中文乱码:
打开vimrc文件,添加如下语句:
set fileencodings=utf-8,gb18030,utf-16,big5
gedit 显示乱码,打开终端输入,如下命令:
gsettings set org.gnome.gedit.preferences.encodings auto-detected"['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT','UTF-16']"
vim 显示中文乱码:
打开vimrc文件,添加如下语句:
set fileencodings=utf-8,gb18030,utf-16,big5