Library can handle MP3 id3tag encoding

Bin Chen binary.chen at gmail.com
Wed May 28 06:18:26 CEST 2008


On Wed, May 28, 2008 at 10:57 AM, Chris Wright <dhasenan at gmail.com> wrote:
> 2008/5/27 Bin Chen <binary.chen at gmail.com>:
>> HI,
>>
>> Is there a good library can handle MP3 id3tag encoding easily? AFAIK,
>> the encoding that in the id3tag can't be decided, it maybe ASCII,
>> UTF-8 and others which sometimes cause the software to decode some
>> error character.
>> The libid3tag can do raw reading to id3tag but not handle the encoding easily.
>
> You need one library to read the tag's text fields as raw byte arrays
> and another to determine the encoding. The latter is highly
> nontrivial.
Yes, I think id3tag spec is a failure, if it force the encoding to
UTF-8, such bad things should not happen.

Bin




More information about the community mailing list