help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Translating keys [solved]


From: Mounir AITTAHAR
Subject: Re: Translating keys [solved]
Date: Fri, 21 Oct 2005 10:37:18 +0200
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

(read-event) or (read-key-sequence "") => typing "é" give 3945
(kbd "é") => 233
(multibyte-char-to-unibyte 3945) => 233
(unibyte-char-to-multibyte 233) => 2281

But with :

(unify-8859-on-encoding-mode 1)
(unify-8859-on-decoding-mode 1)

> (read-event) or (read-key-sequence "") => typing "é" give 2281
> (kbd "é") => 233
> (multibyte-char-to-unibyte 3945) => 233
> (unibyte-char-to-multibyte 233) => 2281

Ok ! I think it was a problem of 8859 encoding unification. But don't know definitely why : locale pb or emacs-related...

--
Mounir AITTAHAR


reply via email to

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