Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, March 2002
Simplicity and Unicode Strings


Message 1 in thread

In Java you could do the following:

String testStr = "\u0627\u0644\u062e\u0645\u064a\u0633";

And then testStr could be passed to initialize any object
that takes a string, say a label or a button, for example.

My simple question: Can this be done in Qt? In other words,
how is it possible to display a string which has a set of
Unicode characters coded using their equivalent hex values
(along with the escape sequence, if there are any)?

Thanks,
Abdalla.