|virtual String||parse (const ByteVector &data) const|
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().
- Writing non-ISO-8859-1 tags is not implemented intentionally. Use UTF-16 or UTF-8 instead.
- See also
Constructor & Destructor Documentation
Member Function Documentation
Decode a string from data. The default implementation assumes that data is an ISO-8859-1 (Latin1) character array.
The documentation for this class was generated from the following file: