void QTextCodec::setCodecForCStrings ( QTextCodec * codec );void QTextCodec::setCodecForLocale ( QTextCodec * c );void QTextCodec::setCodecForTr ( QTextCodec * c );
QTextCodec * myTextCodec = QTextCodec::codecForName("Windows-1251"); QTextCodec::setCodecForTr( myTextCodec ); QTextCodec::setCodecForCStrings( myTextCodec );