Display german umlauts did not work correctly
Hi,
i wrote an application which uses german for the initial language. In these strings are german umlauts.
On Windows Qt displays the umlauts correct.
But now i have to port my application to mac osx 10.8 and not all umlauts are displayed correctly.
I have checked the files. All files are encoded with utf8.
Does anybody have a clue what is going wrong?
I've also tested the trUtf8() function instead of tr(). With this it displayed correctly but i can't change the language of these parts. Even if i readjust the language translation files with update and release.
Any help is appreciated.
Bruno
Re: Display german umlauts did not work correctly
When I have to include non-Latin-1 characters in the source I use QTextCodec::setCodecForCStrings.
Re: Display german umlauts did not work correctly
Quote:
not all umlauts are displayed correctly
So, which ones are displayed correctly, and what is displayed for the ones that are not displayed correctly? This could be a host system font issue or encoding issues or a combination.
How are your Deutsch Wörter written into your source?