Its strange because the statement is, with the changes to convert everything to utf8 reverted all is fine again, however we are converting to utf8 the same way we are in the event object, so if that is the case then we should see the same behaviour otherwise it points to a bug in this change.problem is, that is on several titles only (4-5 title in week)... it must be some with bad char coding or what ... this channels using TSID /ONID wroted there in encoding.conf file.
eepgcache and title searching
Re: eepgcache and title searching #61
Posted 21 January 2012 - 20:04
Re: eepgcache and title searching #62
Re: eepgcache and title searching #63
Posted 22 January 2012 - 10:56
Thanks, it looks like in the bad one you have one line of text that is not in the good one, any idea where this comes from?Here are screenshots with old (epgok) and new code (epgbad). You can see, what missing. May be, it helps you.
Looking at that, it seems as if the entire short event descriptor is missing for that program
Re: eepgcache and title searching #64
Posted 22 January 2012 - 11:45
I've managed to confirm that for events that do not have a title listed, the short event descriptor is not availableThanks, it looks like in the bad one you have one line of text that is not in the good one, any idea where this comes from?
Here are screenshots with old (epgok) and new code (epgbad). You can see, what missing. May be, it helps you.
Looking at that, it seems as if the entire short event descriptor is missing for that program
Re: eepgcache and title searching #65
Posted 22 January 2012 - 11:57
eDebug("%s",eventNameUTF8.c_str());
eDebug("%s",textUTF8.c_str());
SedmipÃrek
Mezi zlodÄji ÅŸije chlapec s nÄÅŸnÃœm jménem a tajemstvÃm. DobrodruÅŸná pohádka (1985). HrajÃ: A. Navrátil, S. Matyáš, V. Ráş, D. Patrasová, V. Brabec, J. Pleskot, M. Masopust a dalÅ¡Ã. ScénáŠH. SÃœkorová a M. KolaÅÃk.
=> stored is all OK.
Re: eepgcache and title searching #66
Posted 22 January 2012 - 12:25
Just to be clear, with the modifications to convert the title to UTF8 the event is stored properly in the cachefor same event as on pictures - there is debug:
eDebug("%s",eventNameUTF8.c_str());
eDebug("%s",textUTF8.c_str());
SedmipÃrek
Mezi zlodÄji ÅŸije chlapec s nÄÅŸnÃœm jménem a tajemstvÃm. DobrodruÅŸná pohádka (1985). HrajÃ: A. Navrátil, S. Matyáš, V. Ráş, D. Patrasová, V. Brabec, J. Pleskot, M. Masopust a dalÅ¡Ã. ScénáŠH. SÃœkorová a M. KolaÅÃk.
=> stored is all OK.
Its just that later it is not displayed correctly
Re: eepgcache and title searching #67
Posted 22 January 2012 - 12:31
When I debug in estring.cpp len, t etc , i got still 2x more lines than lines for readed epg => displaying epg still goes into conversion, imho
Re: eepgcache and title searching #68
Posted 22 January 2012 - 12:38
Could you try a build with thisit can be ... I think, for displaying will be still working with 2chars EPG and it will be still made conversion for it => strange results...
When I debug in estring.cpp len, t etc , i got still 2x more lines than lines for readed epg => displaying epg still goes into conversion, imho
if( it->second.second[0] != SHORT_EVENT_DESCRIPTOR )
{
eDebug("eventData::eventData crc for short desc was found but is not the crc of a short desc for title '%s'", eventNameUTF8.c_str());
}
this goes in the else position of this if
descriptorMap::iterator it = descriptors.find(crc);
if ( it == descriptors.end() )
{
CacheSize+=len;
descriptors[crc] = descriptorPair(1, d);
}
Re: eepgcache and title searching #69
Posted 22 January 2012 - 12:41
Also the casting in convert to UTF8 could be changed from const char * to const unsigned char *Could you try a build with this
it can be ... I think, for displaying will be still working with 2chars EPG and it will be still made conversion for it => strange results...
When I debug in estring.cpp len, t etc , i got still 2x more lines than lines for readed epg => displaying epg still goes into conversion, imho
if( it->second.second[0] != SHORT_EVENT_DESCRIPTOR )
{
eDebug("eventData::eventData crc for short desc was found but is not the crc of a short desc for title '%s'", eventNameUTF8.c_str());
}
this goes in the else position of this if
descriptorMap::iterator it = descriptors.find(crc);
if ( it == descriptors.end() )
{
CacheSize+=len;
descriptors[crc] = descriptorPair(1, d);
}
Re: eepgcache and title searching #70
Re: eepgcache and title searching #71
Re: eepgcache and title searching #72
Re: eepgcache and title searching #73
Re: eepgcache and title searching #74
Re: eepgcache and title searching #75
Re: eepgcache and title searching #76
Re: eepgcache and title searching #77
Re: eepgcache and title searching #78
Re: eepgcache and title searching #79
Re: eepgcache and title searching #80
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users