[mythtv-users] EPG/OSD charset problem
Philippe C. Cattin
cattin at vision.ee.ethz.ch
Fri Mar 19 08:21:02 EST 2004
I might have the same or at least a very similar problem. my grabber
(not yet published swiss grabber) produces perfectly sane ISO-8859-1
xml. the special german and french characters don't show up right in EPG.
However, in my case it seams as if the EPG displays the two byte UTF-8
characters instead of the correct special char (not three chars as in
your case).
is it a coincidence that I'm running SuSE9.0 as well???
Philippe
> I've been having (since installing Myth) problems with non-US-ASCII
> characters in the program titles and descriptions, both in the EPG and the
> OSD.
>
> The xmltv grabber, xmltv_grab_fi, generates perfectly valid ISO-8859-1 xml
> output (and also declares the character set correctly). However, in
> translating that into the database, something happens: namely one extra
> byte gets inserted for each multibyte UTF-8 character. Accordingly this
> causes mythfrontend to display those characters incorrectly.
>
> For example, the a-diaeresis character, "ä", ISO 8859-1 0xE4, should be
> 0xC3A4 in UTF-8, but the database appears to have 0xC3C2A4.
>
> Similarly, each o-diaeresis ("ö", 0xF6) should be 0xC3B6 but is 0xC3C2B6.
>
> This appears with the latest CVS version of Myth and Qt 3.3.1,
> xmltv-0.5.30, on SuSE 9.0.
>
--
Dr. Philippe C. Cattin cattin at vision.ee.ethz.ch
Swiss Federal Institute of Technology, ETHZ Tel: +41-1-632 25 29
Computer Vision Laboratory, CH-8092 Zuerich Fax: +41-1-632 11 99
-->> The second is the first loser <<--
-->> God created a few perfect people, the rest are right-handed <<--
More information about the mythtv-users
mailing list