id3 tag general issues

Scott Wheeler wheeler at kde.org
Mon Jul 3 19:02:50 CEST 2006


On Jul 2, 2006, at 7:04 AM, Joe Wreschnig wrote:

> Since null termination doesn't do any harm, and only costs a single
> character, I think it's a good idea.

That's not quite true since a null terminated string has slightly  
different semantics.  In the case of the ID3v2 spec it indicates not  
"a string with null termination" but "a string followed by an empty  
string".  So "foobar\0" becomes a list of "foobar" and "".

-Scott


More information about the taglib-devel mailing list