-----BEGIN PGP SIGNED MESSAGE----- On Donnerstag, 12. Dezember 2002 19:10, John Levon wrote: > 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]
I did not find this function in qt3 ... However, void setCodecForLocale ( QTextCodec * c ) [static] Set the codec to c; this will be returned by codecForLocale(). This might be needed for some applications that want to use their own mechanism for setting the locale. exists. > 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 ? What exactly do you expect us to do? I for one am interested. Kornel - -- Kornel Benko [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQCVAwUBPfjaobewfbDGmeqhAQHViwQAkw7d/UlVBBCHrMzU0lUIbO2vv/O3Dy9c 1g/O3mGq04grwroXm59vq5NO0HmOw8kc6KLtpNSUfwJStaA/RAUaw4RFdnbhmQEc iLbZFHAoEgD83rGnbGy5ZXms2Jaw7Px5MGGexbUT9imqHQiWZAT+uTXIwH3ms5sR E/H+IglMpy0= =Ebic -----END PGP SIGNATURE-----