AIUI the problem is that the char * strings are encoded in non-latin1,
so we cannot make QStrings with the right text from them. However, there
is this function :

void QTextCodec::setCodecForCStrings ( QTextCodec * c ) [static]

Warning: This function is not reentrant.

Sets the codec used by QString to convert to and from const char* and
QCStrings. If c is 0 (the default), QString assumes Latin-1. 


Is this not exactly what we want ?

Is there some Qt user who could test this ? Is there somebody who would
be willing to test a QLyXKeySym that tries to iterate through all codecs
with canEncode() to find a codec that can convert to getISOEncoded ?

regards
john

-- 
"Anyone who says you can have a lot of widely dispersed people hack away on
 a complicated piece of code and avoid total anarchy has never managed a 
 software project."
        - Andy Tanenbaum

Reply via email to