emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug while locale in utf8


From: Jason Rumney
Subject: Re: Bug while locale in utf8
Date: Thu, 22 Sep 2005 14:10:08 +0100
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Yiyi Hu wrote:

If the locale is zh_CN.gbk or zh_CN.gb2312, then, after starting
Emacs, I use X input method (*fcitx*) to input some Chinese
characters. It will display correctly. After I changed locale to
zh_CN.utf8.If I use X input method (*fcitx*) to do the same input, I
will get =8e4=8bd=8a0 such kind of chars.

....

And I also noticed that after I opened a file which is in
utf-8 encoding. It will load four more libraries.

subst-jis
subst-ksc
subst-big5
subst-gb2312

So I tried to load it manually. But Not works for manual loading...
Loading files should not have side-effects, so that is expected. You need to call the appropriate functions. In this case, utf-translate-cjk-load-tables is the user level function that loads and sets up these tables.

I don't understand enough about the auto-loading of the tables to know why it works when utf-8 files containing CJK characters are loaded, but not for utf-8 keyboard input. But at least the above might give you a better work around for your .emacs.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]