[Top][All Lists]

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

Re: utf-8 input under X11

From: David Monniaux
Subject: Re: utf-8 input under X11
Date: Fri, 26 Oct 2001 18:30:11 +0200

Le Vendredi 26 Octobre 2001 18:12, Gerd Moellmann a écrit :
> > nil
> That's certainly no good to decode UTF-8 :-).
Coding system to use with system messages.

It is totally nonintuitive that that variable, documented as this, 
should have an influence on X11 decoding.

> > When I start emacs with LC_ALL=fr_FR, locale-coding-system is
> > iso-latin-1.
> Hm.
It's obviously set up automatically to be so in ISO-8859-1 locales! 
Try launching emacs with LC_ALL=ru_RU.KOI8-R, you'll see it 
automatically sets locale-coding-system to cyrillic-koi8.

Note also that you don't need set-keyboard-coding-system to decode 
iso-latin-1 or cyrillic-koi8. It's just done automatically by Emacs.

> That needs a MULE guru, I guess.  Kenichi, could you please take
> over from here?

I don't think it's a MULE issue, really, but rather a weirdness in 
the routines decoding X11 keyboard input. To me, that's how the thing 

X11 -keysyms-> Xlib -UTF-8-> Emacs X11 interface -> extra keyboard 
decoding (Mule)
and the problem is in the Emacs/X11 interface.

David Monniaux            http://www.di.ens.fr/~monniaux
Laboratoire d'informatique de l'École Normale Supérieure,
Paris, France

reply via email to

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