[mythtv-commits] Ticket #1581: specify missing character encoding for dvb_decode_text
MythTV
mythtv at cvs.mythtv.org
Sat Mar 25 12:07:13 UTC 2006
#1581: specify missing character encoding for dvb_decode_text
--------------------------------------------+-------------------------------
Reporter: Janne <janne-mythtv at grunau.be> | Owner: danielk
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: dvb | Version:
Severity: medium |
--------------------------------------------+-------------------------------
Attached patch fixes special characters for german Pro7Sat1 multiplex
(DVB-T Berlin).
The epg is encoded in some western encoding (maybe 8859-9) but is not
declared. The correct implementation of ISO 6937 decoding in [9357]
(#1466) breaks the special characters. QString::fromLatin1() used at least
for the more frequently used characters (ä,ö,ü,ß) to work.
The patch is not ready to apply since the check for the these special
transport and the correct encoding is hardcoded into SIParser::HandleEIT.
I first wanted to extend privateTypes for this check but the privateTypes
is only NetworkID specific. I can probably use something like
{{{
privateTypes.FIXEncoding = TransportID << 4 & encoding
}}}
but this is limeted to only one transport per network and to the ISO 8859
character sets.
Are the special EITFixUP methods needed for all channels in the Network?
I'm thinking about extending the privateTypes with the TransportID or
creating a new struct for handling this.
Input how this should or can be done is welcome.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1581>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list