改变默认编码方式:
一、用Configuratio Editor (命令:gconf-editor)
打开Alt+F2,输入gconf-editor (类似于注册表)
修改app->gedit-2->preferences->encoding 中的shown-in-menu 的键值
改为自己想要的编码名字就好了,比如我要改为UTF-8,因为我系统当然编码就是UFT-8,所以我也可以填CURRENT
当然也可以修改auto_detected 的键值,改变探测顺序或增加编码
二、直接任意打开Gedit然后在另存为里面设置:
字符编码:然后可以添加需要的编码
行尾:可以选择Unix/Linux Mac OS Windows
转载于:https://my.oschina.net/dake/blog/196798