Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Processing comment field with nulls #267
MP3 file with the following comment field (as reported by mutagen-inspect version 1.22 on Linux):
On Windows with version 1.33.1 or version 1.34.1, mutagen-inspect (using python 3.4) fails to process the ID3 tags.
The values are missing a BOM. We used to use the python utf-16 decoder which falls back to the system byte order (uhh.. why?) in that case. The bisected commit changed it to use the incremental decode which fails in such a case.
We should fall back to utf-16-le in case the BOM is missing. Because