[prev in list] [next in list] [prev in thread] [next in thread]
List: taglib-devel
Subject: Re: cstring returning invalid encoding? mp3's
From: Lukáš Lalinský <lalinsky () gmail ! com>
Date: 2009-09-21 7:27:15
Message-ID: 5288a560909210027h32d099c4i439e59ca880ab676 () mail ! gmail ! com
[Download RAW message or body]
On Mon, Sep 21, 2009 at 9:07 AM, Caleb Cushing <xenoterracide@gmail.com> wrote:
> const char *ttitle = tfile.tag()->title().toCString();
See http://developer.kde.org/~wheeler/taglib/api/classTagLib_1_1String.html#ac86b42f97707048978f4ac9dd801959
"If unicode if false (the default) this string will be encoded in
Latin1. If it is true the returned C-String will be UTF-8 encoded."
> << tran.esc(ttitle)
And it seems that here you are trying to interpret the Latin-1 string as UTF-8.
--
Lukas Lalinsky
lalinsky@gmail.com
_______________________________________________
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