On Fri, Feb 14, 2003 at 04:10:51PM +0100, Gerasimos Grammatikopoulos wrote:

> Well, all other X apps work fine, and so does Lyx if the document language is 
> set to english. Exporting LANG="el_GR" before loading lyx obviously does not 
> help...

Obviously ?

> Press key 0 text "�", ascii "243"
> Setting key to 0, �
> KeySym is �
> isOK is 1
> isMod is 0
> encoding is iso8859-7
> Using codec ISO 8859-7
> Oof. Can't encode the text !

Qt is seriously broken. What version are you using, what distro ?

I get, on RH8.0, LANG=el_GR, Qt 3.0.5, xmodmapping F10 to Greek_sigma :

Press key 65535 text "�", ascii "243"
Setting key to 65535, �
KeySym is �
isOK is 1
isMod is 0
encoding is iso8859-7
Using codec ISO 8859-7
ISOEncoded returning value 243
action first set to [-1]
action now set to [-1]
Key [action=-1][�]
isText for key 65535 isPrint is 1
isText() is true, inserting.
Cannot decode: �
SelfInsert arg[`']

Note that my version of Qt correctly realises that it can be encoded in
8859-7. However, I get a completely messed up output (square box instead
of anything useful). Smae goes for LANG=el_GR konsole

This is very much a Qt problem that we can do nothing about, as far as I
can see.

> Reading the iso-8859-7.cdef in /usr/share/lyx/kbd, the ASCII code 243 is 

I don't believe that file is relevant to Qt LyX.

john

Reply via email to