[Top][All Lists]

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

Re: utf-8 input under X11

From: Eli Zaretskii
Subject: Re: utf-8 input under X11
Date: Tue, 23 Oct 2001 11:59:05 +0200 (IST)

On Tue, 23 Oct 2001, David Monniaux wrote:

> Would you try replaying this yourself ?
> If you use Linux/glibc 2.2.4 and XFree86 4.1.0 at least, the 
> following will do :
> export LANG=en_US.UTF-8
> export LC_ALL=en_US.UTF-8
> emacs

I tried to reproduce this as best as I could, but was unable to: it seems 
to work fine for me.

Here's what I did:

  - unset all LC_* variables and LANG
  - emacs -q --no-site-file
  - C-x RET k utf-8 RET

Now, I don't have a setup where the keyboard sends UTF-8 codes, so 
instead I forced it to transmit literal UTF-8 encodings of the characters 
you reported:

  - for the Euro: 226 130 172
  - for OE: 197 146
  - for oe: 197 147

(these are all decimal codes).  This worked: I see the correct characters 
displayed, and "C-u C-x =" reports the correct codepoints.

Could you please repeat my experiment, only press your key combinations 
instead of sending literal keys like I did, and see if the problem is not 
due to something else, like your .emacs or site startup files?

Also, I'm not sure: is it possible that your keyboard doesn't send UTF-8, 
but instead Unicode keysyms?

reply via email to

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