Generic API useless with Unicode for ID3v2?
Brian Kerrick Nickel
brian.nickel at gmail.com
Wed Oct 17 20:07:10 CEST 2007
I would recommend setting the encoding to UTF-16. Most readers support
reading and writing UTF-16 strings as they were part of the 2.2 and 2.3
standards, including Microsoft and Apple applications. It should have no
effect on the readability of the tags, and only a marginal effect on the
file size.
- Brian
On Wed, 2007-10-17 at 11:35 +0200, Linus Walleij wrote:
> 2007/10/17, Vitali Lovich <vlovich at gmail.com>:
>
> > The better question is why UTF-8 isn't used as the default encoding
> > everywhere.
>
> IIRC the main reason for not using UTF-8 is that there are many old
> programs out there which cannot handle it, since it was introduced with
> ID3v2 2.4 and taglib is actually one of the few libs which can handle
> it correctly.
>
> The interoperability and likeness to ASCII doesn't help ID3v2, each
> frame is tagged with an encoding and when that has the unknown
> enumeration value for UTF-8 (0x03) old implementations done
> prior to 2.4 will just bail out and set the string to <null>.
>
> Linus
> _______________________________________________
> taglib-devel mailing list
> taglib-devel at kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
More information about the taglib-devel
mailing list