Re: From a newbie: Mule-UCS installation and configuration
Kenichi Handa <[email protected]> Tue, 1 Feb 2005 21:56:45 +0900 (JST)
| Newsgroups | gmane.emacs.mule |
|---|---|
| Message-ID | <[email protected]> |
In article <[email protected]>, "Rodolfo Medina" <[email protected]> writes: > In my .emacs there is: > (utf-translate-cjk-load-tables) > . I started Emacs with: > $ LC_CTYPE=zh_CN.UTF-8 emacs > , then within Emacs did: > C-h v locale-coding-system RET > , and this was the output: > --------------begin------------------------------------- > locale-coding-system's value is utf-8 > Coding system to use with system messages. > Also used for decoding keyboard input on X Window system. > Defined in `C source code'. > --------------end------------------------------------- > . Then I did: > C-h v ucs-mule-cjk-to-unicode RET > and this was the output: > --------------begin------------------------------------- > ucs-mule-cjk-to-unicode's value is > #<hash-table 'eq nil 42581/43000 0x856f288> > Hash table mapping Emacs CJK character sets to Unicode code points. > If `utf-translate-cjk-mode' is non-nil, this table populates the > translation-hash-table named `utf-subst-table-for-encode'. > Defined in `international/utf-8'. > --------------end------------------------------------ It seems that there's no problem. I don't understand why I can but you can't input chinese characters. One possibility is that there's something wrong in several startup configuration files (default.el, site-start.el, .emacs). Please try to start Emacs as this: $ LC_CTYPE=zh_CN.UTF-8 emacs -Q to disable all startup files, evaluate (utf-translate-cjk-load-tables) in *scratch* buffer, and input some Chinese via SCIM. If it still doesn't work, please type the Chinese word for "Chinese" and show me what you get. By the way, have you tried any of Emacs' one chinese input methods? --- Ken'ichi HANDA [email protected]