[mythtv] EIT multi-byte encoding
JP Moitinho de Almeida
moitinho at civil.ist.utl.pt
Thu Mar 17 22:53:13 UTC 2011
On Wednesday 16 March 2011 23:00:21 JP Moitinho de Almeida wrote:
> This week the EIT data that I receive on the Portuguese DVB-T network "TDT
> Continente" became empty. The slots are properly defined, but the
> descriptions are empty.
> This network had a special clause on eithelper.cpp (the last one on the
> list) for ISO8859_15, but when I checked the output of dvbsnoop (at the
> end) it was clear that now it is the "UTF-8 encoding of ISO/IEC 10646"
> (code 0x15).
> That impression is confirmed by
> "2011-03-16 22:00:10.196 dvb_decode_text: Multi-byte coded text is not yet
> in the output of "mythbackend -v siparser,eit"
> Furthermore kaffeine, used to provide a program guide with wrong encoding
> is now giving a perfect text. It just uses (if I understand the code
> case Utf_8: codec = QTextCodec::codecForName("UTF-8"); break;
> How tricky would it be to include the corresponding code in
> dvbdescriptors.cpp for the case (src == 0x15)?
> It seems that Qt has all the necessary stuff and I am prepared to test
> patches. Unfortunately my cpp/qt knowledge is not appropriate to start
> without some guidance.
> Or is it more effective to open a ticket?
> Thanks, regards
> Some info
> - Running mythbackend version: fixes/0.24 [v0.24-211-g785ea1b]
> - output of dvbsnoop -n 1 0x12
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
OK it was (much!) easier than I thought. I will open a ticket with a patch.
More information about the mythtv-dev