Problem with the input of '€' (U+20AC EURO SIGN) with ~/.Xmodmap

Mike FABIAN mfabian at suse.de
Fri Jun 22 15:42:00 EDT 2007


Aidan Kehoe <kehoea at parhasard.net> さんは書きました:

>  >  > So why doesn't this work with ~/.Xmodmap?
>  > 
>  > Violate the standard, get what you deserve.  The X11 standard for
>  > Unicode keysyms explicitly says that they may not be used for keys
>  > that already have keysyms.
>
> We accept this behaviour in 21.5, btw, even for ASCII keysyms.

Strange. Why does changing

    keysym c = c NoSymbol 0x010000a2 currency

to

    keysym c = c NoSymbol cent       currency

in ~/.Xmodmap make the ¢ work then?

> And the keysym EuroSign *is* XK_eurosign.

Isn't it XK_EuroSign?:

mfabian at magellan:~$ grep -i euro  /usr/include/X11/keysymdef.h
#define XK_EcuSign                    0x10020a0  /* U+20A0 EURO-CURRENCY SIGN */
#define XK_EuroSign                      0x20ac  /* U+20AC EURO SIGN */
mfabian at magellan:~$ 

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
I � Unicode



More information about the XEmacs-Beta mailing list