aadsm/JavaScript-ID3-Reader — pull request #31 by yangjian (2014-03-17 12:33:50+00:00)
Title: fix bug in reading MIME type in APIC frame: the MIME is not encoded

According the spec, the MIME type in APIC is pure text string without text encoding for the description.

This bug can be reproduced by adding APIC frame with UTF-16 encoding. When the text encoding is UTF-16, we will read too many bytes as MIME type, and then fail to parse the description and picture data.