-----BEGIN PGP SIGNED MESSAGE-----
On Donnerstag, 19. Dezember 2002 22:25, John Levon wrote:
> On Thu, Dec 19, 2002 at 09:45:13PM +0100, Kornel Benko wrote:
> > Empty kbd action (probably composing)
> > repainting 75,21 7,22
> > Press key 65535 text "Á", ascii "193"
>
> Can you add a debug check to print out like :
Not compilable at the moment. I try to compile without the patch now.
> lyxerr << QTextCodec::codecForLocale()->name())
>
> > encoding check found codec KOI8-R
> > ISOEncoded returning value 243
> >
> > got Cyrillic_ES = 0x6f3 (0xf3 == 243).
>
> How baffling !
>
> What happens in KDE applications ? Are you sure your X is set up
> appropriately ?
No, I am not sure. Don't know, what happens here.
KeyPress event, serial 27, synthetic NO, window 0x3000001,
root 0x3a, subw 0x0, time 12042385, (33,69), root:(37,89),
state 0x2010, keycode 38 (keysym 0x6c1, Cyrillic_a), same_screen YES,
XLookupString gives 1 characters: "С"
...
As I can see here, XLookupString gives Cyrillic_ES, while keysym declares Cyrillic_a
to be pressed.
Maybe someone can enlighten me?
Setting LANG to sr_YU@cyrillic yields
KeyRelease event, serial 27, synthetic NO, window 0x3000001,
root 0x3a, subw 0x0, time 12467182, (84,112), root:(88,132),
state 0x2010, keycode 38 (keysym 0x6c1, Cyrillic_a), same_screen YES,
XLookupString gives 1 characters: "а"
...
This is better, it displays ok in lyx too, but I cannot run latex now.
> It seems to me that since we found the correct encoder, the value we
> return must indeed represent the unicode we were given. But I don't know
> why they differ.
>
> Are you using Rh 8.0 yourself ?
SuSE 8.1
> I've set F11 to produce Cyrillic_a, so when I've finished compiling,
> I'll see what I get !
>
> (in console I get 'a' but with a weird black bar above it)
Try following:
setenv LANG sr_YU@cyrillic
xterm -fn -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso8859-5
then type some chars in the new xterm-window.
The same with LANG ru_RU. The output differs totaly!
This has nothing to do with lyx. (Or QT btw. I cannot believe ... X depends on LANG
...)
Kornel
- --
Kornel Benko
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQCVAwUBPgJe57ewfbDGmeqhAQHPcgP+M4lEwfXRQDLZnV+VXLj/TW1361UwyWAU
aZ67bvCN8AIaa8+MBsis8mnTq1Ya8bTfkaEVnH/eYO0LQQK40NfrYVxGQy2hBKbw
biUa4qzRSMqzWcQP0MMxGbgRiw54L4ZMRGIN2+1E9vbPdEhy6WSnfQbrYir++kUf
kurgakIBDsc=
=Nmy+
-----END PGP SIGNATURE-----