How to disable Unicode rendering?
Dear all,
As we know, current unicode version of Qt is 4.0 & latest unicode version is 6.0.
That’s a huge gap.
But, I read about some news in Qt bugs that, Qt will upgrade Unicode database to 6.0 in Qt 5.0.
But, in current situation some unicode characters changes in Unicode 5.x & above can’t show correctly in current version of Qt.
In text rendering, Qt make automatically render the unicode characters.
So, how can I disable these text rendering function without recompiling of Qt?
Thanks
11 replies
QString is Unicode internally, so I do not see how one could “disable” it at all (despite limiting oneself to plain 7bit ASCII in the range of 0×00 to 0×7F). How would you handle everything above 0×7F in that case? How should a character like the european Euro sign (€ = 0×20AC) or a German umlaut (e.g. Ö = 0×00D6) be displayed in a QLabel if the underlying QString had not interpreted it correctly?
Thanks for your advice.
Actually, I would like to render Unicode 5.2 characters.
Unicode 4.0 is used [doc.qt.nokia.com] as native character set in Qt.
Currently, I solved that problem by editing Qt source code and compile again. But, I don’t want to use like that. AFAIK, Qt will upgrade its unicode database to 6.0 at Qt 5 not Qt 4.8.
Thanks
I guess that that page has not been updated — the changelog for 4.3 clearly states that the table were upgraded to 5.0: http://qt.nokia.com/products/changes/changes-4.3.0/
And yes, you’re correct about Unicode 6 support in Qt 5. Although, if you want to backport the support to Qt 4, you’re encouraged to submit a patch for that.
You must log in to post a reply. Not a member yet? Register here!


