hello,
i connected to a database that contains text which is non english language(right to left language) i used the following code to show the text:

mainText->setText(query.value(0).toString());

but when the text appears on the QtextEdit it appears with strange characters
i tried the following experiments and they failed

mainText->setText(QString::fromLocal8Bit(query.value(0).toS tring()));

mainText->setText(query.value(0).tochar());

can any body help me???
thank you.