[vdr] vdr-1.3.27 and UTF-8

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Wed Jul 20 18:45:15 CEST 2005


Ludwig Nussel wrote:
> Klaus Schmidinger wrote:
> 
>>[...]
>>To me, a character is an entity that's always the same size (preferably
>>one byte). UTF-8 breaks with this, so if you have a string that has,
>>e.g. a strlen() of 10, you can't be sure that this will be really 10 
>>printing
>>characters because there might be some "escaped" characters.
> 
> 
> Well, IIRC "dvb strings" can have embedded control characters so
> if you didn't just filter them out you'd have to deal with strlen !=
> number of characters to render anyways.
> 
> cu
> Ludwig

Those control characters are filtered in libsi.

Klaus



More information about the vdr mailing list