lang = cc; // use first found language
if (cc == lang)
{
- m_event_name = convertDVBUTF8(sed->getEventName(), table, tsidonid);
+ m_event_name = convertDVBUTF8(replace_all(replace_all(sed->getEventName(), "\n", " "), "\t", " "), table, tsidonid);
m_short_description = convertDVBUTF8(sed->getText(), table, tsidonid);
retval=1;
}
dvb_ref.setOriginalNetworkID(ld->getOriginalNetworkId());
dvb_ref.setServiceID(ld->getServiceId());
const PrivateDataByteVector *privateData = ld->getPrivateDataBytes();
- dvb_ref.name = convertDVBUTF8((const unsigned char*)&((*privateData)[0]), privateData->size(), 0, tsidonid);
+ dvb_ref.name = convertDVBUTF8((const unsigned char*)&((*privateData)[0]), privateData->size(), 1, tsidonid);
m_linkage_services.push_back(ref);
}
break;