[mythtv] [mythtv-commits] Ticket #7815: Terra theme uses UTF-8 in "Playback starting" message
Nicolas Riendeau
knight at teksavvy.com
Sun Apr 4 21:35:42 UTC 2010
Hi!
MythTV wrote:
> (In [23970]) Fix the display of non-Latin1 strings in the UI when no
> translation was available. After some thought (coffee) I went with the fix
> suggested by Malcolm Parsons as it was the most logical and neatest
> solution. I will backport once I'm certain that it doesn't break anything.
> Fixes #7815
>
The English string is now displayed properly but the lookup of the translation, which
was broken before this commit, still doesn't work.
This was tested by me (of the French language translation team) on the French
translation and by Kenni Lund (of the Danish translation team) on the Danish translation.
As Kenni made me notice the encoding of the "..." character changes between the
themestrings.h and the .ts files. In a similar way, the encoding of the "..." changes
between the theme file (base.xml in Terra) and the themestrings.h .
It looks like the problem is that even though the theme files is declared as having
UTF-8 as character set it is probably parsed as ISO-8859-1 which corrupts it.
I have been unable to confirm it but it looks like lupdate might also have the same
problem as it seems to corrupt it further.
Have a nice day!
Nick
More information about the mythtv-dev
mailing list