AW: [ID3 Dev] Why does Itunes write null terminated strings (v2.2/v2.3) ?

Mathias Kunter mathiaskunter at yahoo.de
Thu Apr 5 14:56:40 PDT 2007


...why should iTunes NOT write null terminated strings??

From the 2.2 / 2.3 text frame specs:

"If the textstring is followed by a termination ($00 (00)) all the following
information should be ignored and not be displayed."

So I would say it even is good practice to write a terminating 00 (or
00 00 in Unicode) to a text frame. Or did I misunderstand you?

A null terminator has never ever lost anything in an user interface by
the way.

Cheers.
Mathias


----- Ursprüngliche Mail ----
Von: Paul Taylor <paul_t100 at fastmail.fm>
An: id3v2 at id3.org
CC: Paul Taylor <paul_t100 at fastmail.fm>
Gesendet: Donnerstag, den 5. April 2007, 22:46:31 Uhr
Betreff: [ID3 Dev] Why does Itunes write null terminated strings (v2.2/v2.3) ?

Most people on this list knows that Itunes writes null terminated 
strings, but does anyone know why - did they just make a mistake or is 
there a reason for it ?
I ask because I would like to know what you would expect a tag editor to 
do with these values.

It could display these null terminators but this doesnt make much sense 
to user using the tag editor
It could silently hide these null terminators from view, but they they 
would remain in the file possibly causing problems for other applications
It could provide an option to explicity remove these null terminators 
when the records are loaded, and remove them when they are saved, but 
would this cause any kind of problem for Itunes

thanks Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org








	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

---------------------------------------------------------------------
To unsubscribe, e-mail: id3v2-unsubscribe at id3.org
For additional commands, e-mail: id3v2-help at id3.org




More information about the ID3v2 mailing list