|
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) => 2281Ok ! I think it was a problem of 8859 encoding unification. But don't know definitely why : locale pb or emacs-related...
-- Mounir AITTAHAR
[Prev in Thread] | Current Thread | [Next in Thread] |