UTF-8 ecoded Arabic label are not rendered properly, fields are fine though.
Platform: Win32 XP SP3(MinGW) QT 220.127.116.11
Could you please attach some sample output and a description of how that output differs from what you expect to see?
It renders "????????"
All characters are rendered as a question marks even though I'm sure the report file is utf8 encoded.
I think the problem has to do with parsing the report file.
I had this a problem.
Put this source in documentscene constructor in wrtembed project.
It worked for me.
QTextCodec *codec = QTextCodec::codecForName("UTF-8");
Sample report def with arabic label
portion of sample output on mac
portion of sample output on windows (vista)
I tried the attached arabicLabel.xml report definition on Windows Vista, Linux, and Mac, with no problems. The label text is just the digits 0, 1, 2, and 3, separated by spaces. Print Preview from within the OpenRPT app on Mac and Linux and from within xTuple ERP with embedded OpenRPT on WIndows all seemed to work fine. Print to a .xps on Windows and to the Mac's Preview application also seemed OK (see the attached .png files, which are partial screenshots). This is with the trunk OpenRPT code (essentially tags/R3_1_3DEV2).
What's different about what you're trying?
Qt 4.6.0 on Mac
Qt 4.6.1 on Linux
Qt 4.6.3 on Windows