An abstraction for the ISO-8859-1 string to data encoding in ID3v2 tags.
ID3v2 tag can store strings in ISO-8859-1 (Latin1), and TagLib only supports genuine ISO-8859-1 by default. However, in practice, non ISO-8859-1 encodings are often used instead of ISO-8859-1, such as Windows-1252 for western languages, Shift_JIS for Japanese and so on.
Here is an option to read such tags by subclassing this class, reimplementing parse() and setting your reimplementation as the default with ID3v2::Tag::setStringHandler().
- Note
- Writing non-ISO-8859-1 tags is not implemented intentionally. Use UTF-16 or UTF-8 instead.
- See also
- ID3v2::Tag::setStringHandler()