就是这样,但木有效果。 在 11-12-16,袁飞<[email protected]> 写道: > GNOME3下面: > > sudo apt-get install dconf-tools > 终端中键入“dconf-editor”,并按下回车键,打开“配置编辑器”。 > 展开左边的树节点,找到 /org/gnome/gedit/preferences/encodings 节点并单击它。 > auto_detected增加“GB18030”。 > 注:utf8必须位于最前面。将GB18030移动到ISO-8859-15之前。 > > > 在 2011年12月15日 下午5:06,Shou Ya <[email protected]>写道: > >> GNOME3下的gedit3.2.3表示這種方式不再有效, 但在GNOME2下的gedit版本可以用這個方式. >> >> 在 2011年12月14日 下午5:19,De-Jian Zhao <[email protected]> 写道: >> > 我想这位仁兄看你的问题了,呵呵,他提供的方案应我没有试过,不过应当差不 多,与我要提供的方案应当是一致的。我也遇到了类似的问题,是用下面方 法解 >> 决的。 >> > >> > 在 终端中运行 gconf-editor >> > 在打开的界面中选择: apps->gedit-2->preferences->encodings >> > 在右边的auto_detected和 shown_in_menu上点右键编辑,点add,分别加入 GB2312(或者是GB18030),并点 >> > UP按钮移动到第一位。关闭,就可以在gedit中显 示中文了。 >> > >> > 原文出自: >> > >> http://blog.sciencenet.cn/home.php?mod=space&uid=218454&do=blog&id=318033&cid=1043358&goto=new#comment_1043358_li >> > >> > 前面修改encodings的部分你已经做了,可能是缺少后面的两项设置。这样修改之 后,我的gedit每次打开中文文档就能正确显示了。前面仁 >> > 兄是用命令行的方式添 加了auto_detected那一项内容,不知道只添加这一项能不能解决问题。 >> > >> > On 2010-11-10 8:28, tvdbukrf inuyasha wrote: >> >> >> >> 这位仁兄你明白这行命令的意思么? >> >> 或者说你看了我得问题么? >> >> >> >> 2010/11/9 Zhengpeng Hou<[email protected]> >> >> >> >>> gconftool-2 --set "/apps/gedit-2/preferences/encodings/auto_detected" >> >>> --type >> >>> string "[UTF-8,CURRENT,ISO-8859-15,UTF-16,GB2312,GBK,GB18030]" >> >>> >> >>> 2010/11/9 tvdbukrf inuyasha<[email protected]> >> >>> >> >>>> 木有用~我试过这个,有的打开正常了,但大部分还是用西文编码打开的 >> >>>> 你说的问题也许有的是gbk的吧~ >> >>>> >> >>>> 2010/11/9 Rhys<[email protected]> >> >>>> >> >>>>> On Tue, 9 Nov 2010 22:08:23 +0800 >> >>>>> tvdbukrf inuyasha<[email protected]> wrote: >> >>>>> >> >>>>>> ubuntu10.10 >> >>>>>> >> >>> >> >>> >> 已按照网上的配置~在配置编辑/apps/gedit-2/preferences/encodings里添加了GB18030,但中文文件大多是用西文编码ISO8859打开的。非得手动在打开里强制GB18030不可 >> >>>>>> >> >>>>>> 求教! >> >>>>> >> >>>>> 且不说手动的问题,我发现一些文档,gedit采用gb18030无法完成打开。换句话说,gedit的编码系统有问题。 >> >>>>> 你的问题,可以将gb18030在你说的配置的地方调整为第一行 >> >>>>> >> >>>>> -- >> >>>>> ubuntu-zh mailing list >> >>>>> [email protected] >> >>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh >> >>>>> >> > >> > >> > -- >> > ubuntu-zh mailing list >> > [email protected] >> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh >> >> >> >> -- >> Ya Shou >> [email protected] >> http://54c3.tk >> -- >> ubuntu-zh mailing list >> [email protected] >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh >> > -------------- 下一部分 -------------- > 一个HTML附件被移除... > URL: > <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20111216/74d075ca/attachment.html> >
-- Ya Shou [email protected] http://54c3.tk -- ubuntu-zh mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
