Generic API useless with Unicode for ID3v2?

Ismail Dönmez ismail at pardus.org.tr
Wed Oct 17 16:13:15 CEST 2007


Wednesday 17 October 2007 Tarihinde 17:08:52 yazmıştı:
> Andreas Klöckner wrote:
> > In particular, that means you can't reliably use the generic API with
> > Unicode data on ID3v2 files.
>
> This is all actually quite easy, if not particularly obvious from the
> API.  All you have to do is call:
>
> TagLib::ID3v2::FrameFactory::setDefaultTextEncoding(...)
>
> After that all text frames that are written will use the specified
> encoding (unless they are specifically overridden on an frame-by-frame
> basis).

This doesn't seem to work with lame encoded files [0]. Any tips on that?

[0] http://mail.kde.org/pipermail/taglib-devel/2007-June/000711.html

-- 
Faith is believing what you know isn't so -- Mark Twain


More information about the taglib-devel mailing list