[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Euro sign bound, Pound sign not bound. (Bug?)
From: |
Eli Zaretskii |
Subject: |
Re: Euro sign bound, Pound sign not bound. (Bug?) |
Date: |
Sat, 05 May 2007 10:14:50 +0300 |
> From: David Reitter <address@hidden>
> Date: Sat, 5 May 2007 07:57:59 +0100
>
> On 4 May 2007, at 22:17, Richard Stallman wrote:
>
> > The following strikes me as strange:
> >
> > (key-binding "=80") ;; (Euro character) returns 'self-insert-
> > command, =
> > but
> > (key-binding "=A3") ;; (Pound character) returns nil
> >
> > Is this a bug?
> >
> > Maybe. Can you type these two characters on your keyboard?
>
> Yes.
>
> > If so, what happens? Do they insert themselves?
>
> Yes.
>
> C-h k tells me, for both of them, that they are bound to `self-insert-
> command'.
Yes, but what gets inserted is not A3 hex. Observe:
> Pound sign:
> character: £ (2211, #o4243, #x8a3, U+00A3)
> [...]
> buffer code: #x81 #xA3
So as you see, that character is 8A3 hex, not A3 hex. The latter is
its Latin-1 encoding, but inside Emacs it is known under a different
code.