taglib 1.6 suppots utf-8 reading?

View: New views
2 Messages — Rating Filter:   Alert me  

taglib 1.6 suppots utf-8 reading?

by 丁詠倫 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Does the taglib 1.6 supports utf-8 encoding? I have used the code of
tagreader_c.c, but cannot read the chinese tag label. Thanks a lot!

Susan

--
Best Regards,
Yung-lun Ting
NCU wireless and multimedia lab

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

Re: taglib 1.6 suppots utf-8 reading?

by Dudy Kohen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
Taglib does support utf-8 encoding but if you use the C bindings you need to use the taglib_set_strings_unicode and set it to true.
Since printf has limited support of UTF8 the example sets the unicode to false.
You can change it to true and recompile, see if it works, otherwise you'll have to use a library to print utf8 properly.
Good luck,
David Kohen

On Thu, Sep 24, 2009 at 11:23 AM, 丁詠倫 <tul@...> wrote:
Hi,
Does the taglib 1.6 supports utf-8 encoding? I have used the code of
tagreader_c.c, but cannot read the chinese tag label. Thanks a lot!

Susan

--
Best Regards,
Yung-lun Ting
NCU wireless and multimedia lab

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


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