[Bug 225055] audio/mp3splt: the default encoding for ID3v2 tags should be UTF-16BE, not UTF-16LE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 3 16:24:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225055

--- Comment #9 from Anton Yuzhaninov <citrin+pr at citrin.ru> ---
(In reply to vas from comment #8)
text encoding description byte 0x01 mean UCS-2 (with BOM) in id3v2.3.0 and
UTF-16 with BOM in id3v2.4.0

For Basic Multilingual Plane (first 65536 code points) UTF-16 and UCS-2 have
the same byte representation. Symbols beyond BMP can't be represented in UCS-2
and hence in id3v2.3.0, but all popular languages are covered by BMP.

If some implementation supports only id3v2.3.0/UCS-2 then symbols outside BMP
(e.g. Unicode emoji) from id3v2.4.0 tags will be corrupted, but other symbols
should be decoded correctly. But I have no files with symbols outside BMP to
test it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list