TagLib doesn't convert strings. It read encoding (String::Type) and raw data (ByteArray) from file.š<div>You can then perform conversion with String::toWString() but before it contains raw byte data from file.</div><div>

<br></div><div>But I can't find function to get type enum <a href="http://taglib.github.com/api/classTagLib_1_1String.html">here</a>.š</div><div>So you can get raw data withšString::data(Typešt)<br><br><div class="gmail_quote">

2012/7/15 Christian Convey <span dir="ltr"><<a href="mailto:christian.convey@gmail.com" target="_blank">christian.convey@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thanks. šBut this is actually a podcast run by someone else:<br>
<a href="http://www.dw.de/dw/0,,2548,00.html" target="_blank">http://www.dw.de/dw/0,,2548,00.html</a><br>
<br>
So actually fixing the problem is outside of my power. šWhat I'd like<br>
to do is research the problem with their mp3 files carefully, so that<br>
I can tell them precisely with the problem is.<br>
<br>
(For example, "Your mp3 tagging software is claiming that the text is<br>
encoded using UTF-8, but it's actually UTF-16.")<br>
<div class="HOEnZb"><div class="h5"><br>
On Sun, Jul 15, 2012 at 10:52 AM, áÎÔÏΠóÅÒÇÕÎÏ× <<a href="mailto:setosha@gmail.com">setosha@gmail.com</a>> wrote:<br>
> Most common id3 encoding problem is using local 8bit win encoding in Latin1<br>
> fields. You can use special Latin1 handler or (better works for me) if<br>
> string is in Latin1 convert it to local 8 bit windows encoding.<br>
><br>
> 15.07.2012 21:35 ÐÏÌØÚÏ×ÁÔÅÌØ "Christian Convey"<br>
> <<a href="mailto:christian.convey@gmail.com">christian.convey@gmail.com</a>> ÎÁÐÉÓÁÌ:<br>
>><br>
>> I'm new to ID3 tag handling. šCan you tell me if taglib can be used to<br>
>> solve a particular problem?<br>
>><br>
>> I have MP3 files frm a podcast, and I suspect that there's an<br>
>> inconsistency between the actual encoding of the ID3v2.2 Title field,<br>
>> and the byte that states what encoding is used for that string.<br>
>><br>
>> Can taglib tell me which encoding the file *claims* to have for that<br>
>> field?<br>
>><br>
>> And can I get taglib to give me the bytes in the ID3v2.2 Title field<br>
>> *without* taglib automatically performing some kind of<br>
>> character-encoding translation?<br>
>> _______________________________________________<br>
>> taglib-devel mailing list<br>
>> <a href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br>
>> <a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
><br>
><br>
> _______________________________________________<br>
> taglib-devel mailing list<br>
> <a href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
><br>
_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
</div></div></blockquote></div><br></div>