Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.5.2
-
None
-
68595bbc28ba0d1cd78557c61011dc004a4a507c
Description
To reproduce, run the test program that's attached.
The result of running lupdate will be an incorrect à instead of Ö - you will need to modify the line in main.cpp to use tr( instead of QObject::trUtf8( since lupdate seems to generate this (without the option to modify the translate function).
Then open the .ts file in a text editor and you will see that the text is garbled when a unicode string has been specified.
The result is that tr("\303\226ffnen"); is interpreted as Ãffnen but should be Öffnen
On the command line, run the following:-
lupdate HelloWorldQtUic.pro
this gets you the .ts file which can be inspected or opened to see the problem
So far, I've reproduced this on Windows using Qt versions 4.5.0, 4.5.1 and 4.5.2 as I suspected it may be a regression given that there was a similar task opened in the past.