gedit Invalid byte sequence in conversion input
用vim修改文件时使用中文输入法添加注释,然后用gedit打开就出错了,解决办法:
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
环境:
ubuntu14.04 64bit
用vim修改文件时使用中文输入法添加注释,然后用gedit打开就出错了,解决办法:
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
环境:
ubuntu14.04 64bit