I have string "Z\u00fcrich"
How do I make from it "Zürich"?
Where do you want "Zürich" to appear ?
For example, in QLineEdit or save in file.
What locale are you using ? If it's e.g. Switzerland, you should see Zürich properly on your QLineEdit directly when calling
I am using english locale.
I get "Z\u00fcrich" on the network. And I need to program transformed her in "Zürich".
ManhNT last edited by
Sorry I don't know for sure, but I'm using Vietnamese with QString like this: QString::fromUtf8("Xin chào");
Maybe utf8 will work for you too.
Trikrista last edited by Trikrista
it is not(((
I got a string in this form "Z\u00fcrich".
I have something like this:
QString str = "Z\u00fcrich";
QString str1 = str.someFunction();
qDebug() << str1;
Output to the log: "Zürich"