PDA

View Full Version : Translate text with german umlauts



Daniel_Boff
9th September 2014, 07:19
I want to translate a text from german to english, however umlauts don't seem to work.


QMessageBox::information(NULL, (QObject::tr("TEST")), QObject::tr("Ällö"),QMessageBox::Ok, QMessageBox::NoButton);

My setup:
* Qt 5.3
* Visual studio 2010
* Visual studio settings:
- Preprocessor defines UNICODE and _UNICODE are set
- The source file encoding is "Unicode (UTF-8 with signature) - Codepage 65001"
- Character set "Use Multi-Byte Character Set" (I tried "Use Unicode Character Set too" already)

I know it would be better to translate english to german, but in the software base I am using I really had to change a lot and hence I'd prefer the other way around.
What can I do to solve this?