Hi,all, I ever sent this bug report once. But I don't know if it's
really sent as the power failure here. So today, I sent again. With
more detailed approach.
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. Hmm, I've tried to add
(set-language-environment 'UTF-8) or other related settings, It
doesn't work.
But, the Input method within Emacs works fine. No matter what locale
(zh_CN.gbk zh_CN.gb2312 zh_CN.utf8) is. Hmm, This bug will disappear
after you open a file which is in utf-8 encoding. if you don't open a
file in utf-8 encoding. Even the buffer(also file) which is newly
created won't do the "right" thing. Still print something like =8e4=8bd=8a0
So, My temporary solution is to create a file with a Chinese character.
And add the line below into .emacs
(find-file ".emacs.utf8.tmp")
(kill-buffer nil)
file names .emacs.utf8.tmp contains only one chinese character in utf-8 encoding.
This works fine. But seems to be a bit ugly...
Hmm, By the way, paste utf-8 characters from other window will display
correctly.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...
Thanks for your work. Hope what I say is clear enough to this bug.
xinming
If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/22.0.50/etc/DEBUG for instructions.
In GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.6.10)
of 2005-09-18 on pacem, modified by Debian
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.50/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.50/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'CFLAGS=-DDEBIAN -g
-Wno-pointer-sign -O2' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: zh_CN.utf8
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tool-bar-mode: t
mouse-wheel-mode: t
tooltip-mode: t
auto-compression-mode: t
menu-bar-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
Recent input:
<help-echo> <help-echo> <down-mouse-1> <mouse-1> M-x
r e p o r <tab> <tab> <return>
Recent messages:
Loading 50vc-svn (source)...done
Loading 50x-pgp-sig-el (source)...done
Loading 52select-xface (source)...done
Loading 60nxml-mode (source)...
Loading loadhist...done
Loading rng-auto.el (source)...done
Loading 60nxml-mode (source)...done
Loading 70x-face-el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done