[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-8 Input
From: |
Kenichi Handa |
Subject: |
Re: UTF-8 Input |
Date: |
Tue, 15 Jan 2002 16:47:25 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
Nikolaus Rath <Nutznetz@rath.org> writes:
> If i start GNU Emacs 21.1.1 (i386-debian-linux-gnu, X toolkit, Xaw3d
> scroll bars) of 2001-12-06 on raven, modified by Debian under XFree
> 4.1.0.1 with an UTF-8 locale, the keyboard input is interpreted in the
> wrong way. Instead of the correct Unicode character i become the two
> or three latin1 characters of the bytes that utf-8 uses to encode the
> unicode character.
> This looks like this: ä,ö,ü if i type ä,ö,ü (the german Umlaute).
[...]
> * Eli Zaretskii <eliz@is.elta.co.il> wrote:
>> Does it help to set locale-coding-system to utf-8?
> No.
Could you please try this?
(1) Start emacs under gdb and set locale-coding-system to utf-8.
(2) Set breakpoint at this line (line 10612 of xterm.c):
decode_coding (&coding, copy_bufptr, p,
nbytes, require);
here--->> nbytes = coding.produced;
(3) Type `ä'.
(4) Check the byte sequence at copy_bufptr and p.
By the way, how do you type `ä'? Does your keyboard has
that character? Or do you use some combination of keys?
---
Ken'ichi HANDA
handa@etl.go.jp
- UTF-8 Input, Nikolaus Rath, 2002/01/11
- Re: UTF-8 Input,
Kenichi Handa <=