Salam,
try to use:
// ISO8859-6 or CP1256 are the Arabic codecs
QTextCodec* codec = QTextCodec::codecForName("ISO8859-6");
QString UniString = codec->toUnicode(txt);
where txt is the original text and UniString is the new Arabic encoded
text then you can do label->setText(UniString);
I hope this can help,
Haydar
Hasanen Naufal wrote:
salam
how can i force qt3 to display an arabic string ( in al QLabel for
example ).
forgive me for this question but i am new to QT3 & i18n
thanx.
_______________________________________________
Developer mailing list
Developer at arabeyes dot org
http://arabeyes.org/mailman/listinfo/developer
_______________________________________________
Developer mailing list
Developer at arabeyes dot org
http://arabeyes.org/mailman/listinfo/developer