Paul Taylor
2010-04-19 11:33:41 UTC
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
i.e
Say just have the single char string twice (0xDE 0x03)
Should BOM be written for both strings
0xFF 0xFE 0xDE 0x03 0x00 0x00 0xFF 0xFE 0xDE 0x03
or just at the start of the total string
0xFF 0xFE 0xDE 0x03 0x00 0x00 0xDE 0x03
(null separator should be written for all fields except last one)
Paul
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
i.e
Say just have the single char string twice (0xDE 0x03)
Should BOM be written for both strings
0xFF 0xFE 0xDE 0x03 0x00 0x00 0xFF 0xFE 0xDE 0x03
or just at the start of the total string
0xFF 0xFE 0xDE 0x03 0x00 0x00 0xDE 0x03
(null separator should be written for all fields except last one)
Paul