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

"Rodolfo Medina" <[email protected]> Thu, 27 Jan 2005 16:53:49 +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:

> ???  As Emacs 21.3.50 has utf-8 support for CJK characters
> (not fully but within the range of legacy charsets such as
> JIS, GB2312, BIG5, KSC), you don't have to use Mule-UCS.
>
> Mule-UCS is usefull for older Emacs, but not for CVS Emacs.
>
> Are you sure that 21.3.50 by itself doesn't work well with
> SCIM?  If it doesn't, please tell me the symptom.


Rodolfo Medina wrote:

>I installed scim-1.0.1.tar.gz and scim-chinese-0.4.2.tar.gz,
>then installed the Italian locale with `# urpmi locales-it'
>and could properly input chinese characters with kwrite
>opening it with `$ LC_CTYPE=it_IT.UTF-8 kwrite'.
>Instead, when I did `$ LC_CTYPE=it_IT.UTF-8 emacs',
>I could not input input chinese characters but got chaos code.
>
>Then I also installed scim-tables-0.4.3.tar.gz and the simsun.ttf font
>and the zh locale with `# urpmi locales-zh'.
>Again, I could properly input chinese characters with kwrite,
>opening it with `$ LC_CTYPE=zh_CN.UTF-8 kwrite'.
>Instead, when I did `$ LC_CTYPE=zh_CN.UTF-8 emacs',
>I could not input chinese characters but got chaos code.
>
>Note: my .emacs is empty;
>      when opening Emacs simply with `$ emacs'
>		the scim toolbar doesn't appear at all.


Kenichi Handa wrote:

>maybe you should try to (set-keyboard-encoding-system 'utf-8) or
>something .



The correct syntax is: (set-keyboard-coding-system 'utf-8).
In my .emacs I put the following line:

(set-keyboard-coding-system 'utf-8)

, then opened Emacs with `LC_CTYPE=zh_CN.UTF-8 emacs'
but still got chaos code when trying to input chinese characters with scim.

Any other hint?
Rodolfo