[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Re: inconsistent results with utf8
From:       Barış_Metin <baris () uludag ! org ! tr>
Date:       2005-10-03 11:24:04
Message-ID: 200510031424.05345.baris () uludag ! org ! tr
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Monday 03 October 2005 00:07 tarihinde, Michael Pyne şunları yazmıştı: 
> On Sunday 02 October 2005 14:47, Ben wrote:
> > Heh. I probably also should have mentioned that I've slightly changed
> > the examples. I've changed things in tagwriter.cpp to be like so:
> >
> > t->setTitle(TagLib::String(argv[i + 1], TagLib::String::UTF8));
> >
> > I've changed tagreader_c.c to say
> >
> > taglib_set_strings_unicode(1);
> >
> > As I understand it, these should tell TagLib to use UTF8.....
>
> I believe there is a static function in ID3v2::FrameFactory or something
> like that which you can call to make the default string encoding to be
> UTF8.  You may want to also investigate that.

The exact call should be like this, I think...

TagLib::ID3v2::FrameFactory::instance()->setDefaultTextEncoding(TagLib::String::UTF8);

regards,
-- 
Barış Metin

[Attachment #5 (application/pgp-signature)]

_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic