Generic API useless with Unicode for ID3v2?

Scott Wheeler wheeler at kde.org
Wed Oct 17 16:08:52 CEST 2007


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).

-Scott


More information about the taglib-devel mailing list