[prev in list] [next in list] [prev in thread] [next in thread]
List: taglib-devel
Subject: Re: Question about taglib abilities
From: Антон Сергунов <setosha () gmail ! com>
Date: 2012-07-15 16:40:44
Message-ID: CAPdia6uXvVeQbmuU4Hk4vyKDxqh=_qWVVAMPtiXKkybXi_zL9w () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
windows cp1250 or cp1252 for german
2012/7/15 Christian Convey <christian.convey@gmail.com>
> Thanks very much, that's a big help.
>
> Do you happen to know if it's common for MP3 tagging software to use
> character encodings *other than* the five valid ID3v2 encodings
> (latin1, UTF16, UTF16BE, UTF16LE, and UTF8) ?
>
> I'm trying to anticipate how many different character encodings I'll
> have to try out when debugging this MP3 file.
>
> Thanks,
> Christian
>
> On Sun, Jul 15, 2012 at 11:27 AM, =E1=CE=D4=CF=CE =F3=C5=D2=C7=D5=CE=CF=
=D7 <setosha@gmail.com>
> wrote:
> > TagLib doesn't convert strings. It read encoding (String::Type) and raw
> data
> > (ByteArray) from file.
> > You can then perform conversion with String::toWString() but before it
> > contains raw byte data from file.
> >
> > But I can't find function to get type enum here.
> > So you can get raw data with String::data(Type t)
> >
> >
> > 2012/7/15 Christian Convey <christian.convey@gmail.com>
> >>
> >> Thanks. But this is actually a podcast run by someone else:
> >> http://www.dw.de/dw/0,,2548,00.html
> >>
> >> So actually fixing the problem is outside of my power. What I'd like
> >> to do is research the problem with their mp3 files carefully, so that
> >> I can tell them precisely with the problem is.
> >>
> >> (For example, "Your mp3 tagging software is claiming that the text is
> >> encoded using UTF-8, but it's actually UTF-16.")
> >>
> >> On Sun, Jul 15, 2012 at 10:52 AM, =E1=CE=D4=CF=CE =F3=C5=D2=C7=D5=CE=
=CF=D7 <setosha@gmail.com>
> >> wrote:
> >> > Most common id3 encoding problem is using local 8bit win encoding in
> >> > Latin1
> >> > fields. You can use special Latin1 handler or (better works for me) =
if
> >> > string is in Latin1 convert it to local 8 bit windows encoding.
> >> >
> >> > 15.07.2012 21:35 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D8 "Christian Con=
vey"
> >> > <christian.convey@gmail.com> =CE=C1=D0=C9=D3=C1=CC:
> >> >>
> >> >> I'm new to ID3 tag handling. Can you tell me if taglib can be used
> to
> >> >> solve a particular problem?
> >> >>
> >> >> I have MP3 files frm a podcast, and I suspect that there's an
> >> >> inconsistency between the actual encoding of the ID3v2.2 Title fiel=
d,
> >> >> and the byte that states what encoding is used for that string.
> >> >>
> >> >> Can taglib tell me which encoding the file *claims* to have for tha=
t
> >> >> field?
> >> >>
> >> >> And can I get taglib to give me the bytes in the ID3v2.2 Title fiel=
d
> >> >> *without* taglib automatically performing some kind of
> >> >> character-encoding translation?
> >> >> _______________________________________________
> >> >> taglib-devel mailing list
> >> >> taglib-devel@kde.org
> >> >> https://mail.kde.org/mailman/listinfo/taglib-devel
> >> >
> >> >
> >> > _______________________________________________
> >> > taglib-devel mailing list
> >> > taglib-devel@kde.org
> >> > https://mail.kde.org/mailman/listinfo/taglib-devel
> >> >
> >> _______________________________________________
> >> taglib-devel mailing list
> >> taglib-devel@kde.org
> >> https://mail.kde.org/mailman/listinfo/taglib-devel
> >
> >
> >
> > _______________________________________________
> > taglib-devel mailing list
> > taglib-devel@kde.org
> > https://mail.kde.org/mailman/listinfo/taglib-devel
> >
> _______________________________________________
> taglib-devel mailing list
> taglib-devel@kde.org
> https://mail.kde.org/mailman/listinfo/taglib-devel
>
[Attachment #5 (text/html)]
windows cp1250 or cp1252 for german<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 very much, that's a big help.<br>
<br>
Do you happen to know if it's common for MP3 tagging software to use<br>
character encodings *other than* the five valid ID3v2 encodings<br>
(latin1, UTF16, UTF16BE, UTF16LE, and UTF8) ?<br>
<br>
I'm trying to anticipate how many different character encodings I'll<br>
have to try out when debugging this MP3 file.<br>
<br>
Thanks,<br>
Christian<br>
<div class="HOEnZb"><div class="h5"><br>
On Sun, Jul 15, 2012 at 11:27 AM, <<a \
href="mailto:setosha@gmail.com">setosha@gmail.com</a>> wrote:<br> > TagLib \
doesn't convert strings. It read encoding (String::Type) and raw data<br> > \
(ByteArray) from file.<br> > You can then perform conversion with \
String::toWString() but before it<br> > contains raw byte data from file.<br>
><br>
> But I can't find function to get type enum here.<br>
> So you can get raw data with String::data(Type t)<br>
><br>
><br>
> 2012/7/15 Christian Convey <<a \
href="mailto:christian.convey@gmail.com">christian.convey@gmail.com</a>><br> \
>><br> >> 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>
>><br>
>> On Sun, Jul 15, 2012 at 10:52 AM, <<a \
href="mailto:setosha@gmail.com">setosha@gmail.com</a>><br> >> wrote:<br>
>> > Most common id3 encoding problem is using local 8bit win encoding \
in<br> >> > 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> ><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>
_______________________________________________
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