<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">Well, the specification says: "UTF-16 [UTF-16] encoded Unicode [UNICODE] with BOM. All strings in the same frame SHALL have the same byteorder."<br><br>Therefore:<br>1) Strings in the same frame MAY have different byteorder.<br>2) To encode different byteorder strings, each string MUST have a BOM.<br>3) In order to be consistent with 2), also encode same byteorder strings with a BOM for each string.<br><br>Using a BOM for each string also is the solution which should be most compatible with other ID3 implementations, since no UTF-16 compliant ID3 implementation should ignore the BOM of any string.<br><br>Mathias K.<br><div><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font face="Tahoma" size="2"><hr
 size="1"><b><span style="font-weight: bold;">Von:</span></b> Paul Taylor <paul_t100@fastmail.fm><br><b><span style="font-weight: bold;">An:</span></b> id3v2@id3.org<br><b><span style="font-weight: bold;">Gesendet:</span></b> Montag, den 19. April 2010, 13:33:41 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> [ID3 Dev] BOMS for multiple string fields ?<br></font><br>If have a text frame with multiple strings, stored as a null separated list, where null is represented by the termination code for the character encoding how do you encode type 01   (UTF-16 [UTF-16] encoded Unicode [UNICODE] with BOM)  Do you write BOM for each string or just at the start of the total string<br><br>i.e<br><br>Say just have the single char string twice (0xDE 0x03)<br><br>Should BOM be written for both strings<br><br>0xFF 0xFE 0xDE 0x03 0x00 0x00  0xFF 0xFE 0xDE 0x03<br><br>or just at the start of the total string<br><br>0xFF 0xFE 0xDE 0x03
 0x00 0x00  0xDE 0x03<br><br>(null separator should be written for all fields except  last one)<br><br>Paul<br><br>---------------------------------------------------------------------<br>To unsubscribe, e-mail: <a ymailto="mailto:id3v2-unsubscribe@id3.org" href="mailto:id3v2-unsubscribe@id3.org">id3v2-unsubscribe@id3.org</a><br>For additional commands, e-mail: <a ymailto="mailto:id3v2-help@id3.org" href="mailto:id3v2-help@id3.org">id3v2-help@id3.org</a><br><br></div></div>
</div><br></body></html>