Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I have string "Z\u00fcrich" How do I make from it "Zürich"?
Hi,
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 setText("Z\u00fcrich")
setText("Z\u00fcrich")
I am using english locale.
I get "Z\u00fcrich" on the network. And I need to program transformed her in "Zürich".
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.
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"