ubuntu中egdit编码错误的解决

由于在ubuntu的egdit中,默认编码为utf-8,所以在打开GB2312编码的文档时会显示乱码。
所以,需要设置egdit使其能够识别GB2312编码。
对egdit设置时需要使用到工具gconf-editor,打开方式为在命令行中键入gconf-editor。
打开gconf-editor后,在左边树形目录下分别进入apps,egdit-2,preference,encodings;修改auto_detected的值,双击,并在在其中加入GB2312,再将GB2312选项移动到最上方即可,这样egdit就可以识别GB2312编码的文档了。


猜你喜欢

转载自myos.iteye.com/blog/910713