[vdr] vdr-1.3.27 and UTF-8

Ludwig Nussel ludwig.nussel at suse.de
Wed Jul 20 17:46:08 CEST 2005


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

-- 
 (o_   Ludwig Nussel
 //\   SUSE LINUX Products GmbH, Development
 V_/_  http://www.suse.de/



More information about the vdr mailing list