vdr-1.3.27 and UTF-8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux