On Monday 29 December 2003 13:52, Sjoerd Hiemstra wrote:
I wrote:
echo -e "\244" should display the euro sign.
Upon which Jan Elders replied:
Hey, it doesn't.
This seems to indicate the problem. Yes, I agree, but how to solve it ?????
You do see ten euro signs here?? --> €€€€€€€€€€
Yes I do ! <snip> How about copying these euro symbols to Konsole or xterm. Are they visible there? No, I get question marks ???????? instead !
Konsole's charset seems to follow KDE's global settings. KMail: Settings > Configure KMail > Composer > tab Charset, select 'iso-8859-15 (locale)'. Done. Doesn't help. BTW, iso-8859-15 wasn't even in the list. So I've added it by hand and moved it to the top of the list.
If all else fails, you can still do something like this: xmodmap -e 'keycode 96 = EuroSign' so pressing F12 (having keycode 96) yields the euro sign. Yes, that works. Look : €€€€€€€€€ Thanks for the by-pass, but nevertheless I don't want to be beat by the system. It should work according to the rules !!!!!!!!!!!!!
Bottom-line problem seems to be that the Mode_switch function seems to be not working. After having modified the key-settings with xmodmap, I have the following situation : =============== jrm@MEDION:~> xmodmap xmodmap: up to 2 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25) mod1 Alt_L (0x40) mod2 Num_Lock (0x4d) mod3 Mode_switch (0x71) mod4 mod5 =============== The xmodmap -pke command says : =============== . keycode 14 = 5 percent EuroSign . keycode 26 = e E EuroSign cent . keycode 113 = Mode_switch ================= Yet, pressing AltGr 5 renders (xev output) : KeyPress event, serial 25, synthetic NO, window 0x2e00001, root 0x71, subw 0x0, time 201778, (131,294), root:(959,318), state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES, XLookupString gives 0 bytes: "" KeyPress event, serial 25, synthetic NO, window 0x2e00001, root 0x71, subw 0x0, time 203606, (131,294), root:(959,318), state 0x8, keycode 14 (keysym 0x35, 5), same_screen YES, XLookupString gives 1 bytes: "5" So, I just get a 5 instead of the €. How can this be ? Cheers, -- Jan Elders the Netherlands http://www.xs4all.nl/~jrme/ "Home of the Network Acronyms"