taglib/taglib — pull request #55 by TsudaKageyu (2012-08-23 03:30:10+00:00)
Title: Support broken Latin-1 encodings in ID3V2

This is a revised version of a patch I previously requested.

I have added a feature to read strings in any local encodings instead of ISO-8859-1, such as Windows-1252 for western languages, Shift_JIS for Japanese and so on.
Storing non-ISO-8859-1 strings as ISO-8859-1 in ID3V2 tags is non-standard, but it is a common practice.

I added a class named TagLib::ID3v2::Latin1StringHandler that is similar to TagLib::ID3v1::StringHandler, but it only supports reading. Writing is not implemented intentionally.