mismael85
17th November 2010, 23:12
Hi,
I am using clucene library to index and search my text .I am using Arabic text only.
when i retrieve the text from the highlighter i gets it in a wchar_t* pointer.
So, I am using QString::fromWCharArray(wchar_t*) but the text does not appear in Arabic,it appears in strange characters.
I also tried
QString::fromUtf16()
QString::utf8()
QString::data()
can any body help me to display it in right character codec?
Thank you
I am using clucene library to index and search my text .I am using Arabic text only.
when i retrieve the text from the highlighter i gets it in a wchar_t* pointer.
So, I am using QString::fromWCharArray(wchar_t*) but the text does not appear in Arabic,it appears in strange characters.
I also tried
QString::fromUtf16()
QString::utf8()
QString::data()
can any body help me to display it in right character codec?
Thank you