Re: From a newbie: Mule-UCS installation and configuration

"Rodolfo Medina" <[email protected]> Mon, 31 Jan 2005 16:09:45 +0100
Newsgroups gmane.emacs.mule
Message-ID <[email protected]>
Rodolfo Medina wrote:

> In my `Linux Mandrake 10.1 Community' system I recently installed
> Emacs CVS 21.3.50.
> In order to input chinese characters with `scim' I was suggested
> to install Mule-UCS. I need to input both Simplified
> and Traditional Chinese
> together with Italian characters (with the accented vocals à, è, ì, etc.).


Kenichi Handa wrote:

> Just after Emacs is started, is the value of
> locale-coding-system surely set to utf-8? And please show
> me the result of C-h v ucs-mule-cjk-to-unicode RET.

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------------------------------------



Cheers,
Rodolfo