把Ubuntu升级到10.04后发现gedit打不开空文档,如:
$ gedit abc
(gedit:7722): GLib-GIO-CRITICAL **: g_converter_convert: assertion `outbuf_size > 0′ failed
段错误
解决方法:打开gconf-editor,进入apps的gedit-2的preferences的encodings,把auto-detected中到UTF-8调到最前面即可。
把Ubuntu升级到10.04后发现gedit打不开空文档,如:
$ gedit abc
(gedit:7722): GLib-GIO-CRITICAL **: g_converter_convert: assertion `outbuf_size > 0′ failed
段错误
解决方法:打开gconf-editor,进入apps的gedit-2的preferences的encodings,把auto-detected中到UTF-8调到最前面即可。