<div dir="ltr">This is the standard when the language is not defined or invalid.<br>It's not correct to set a default language in a library, so you should set the language before writing.<br><br><div class="gmail_quote">
On Tue, Jan 26, 2010 at 11:42 PM, patrick machielse <span dir="ltr"><<a href="mailto:patrick@hieper.nl">patrick@hieper.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Op 22 dec 2009, om 23:03 heeft patrick machielse het volgende geschreven:<br>
<div class="im"><br>
> It turns out that new comment frames by default do not have a language set, and TagLib writes out 'XXX' in place of the 3-character language code:<br>
><br>
> // commentsframe.cpp<br>
> ByteVector CommentsFrame::renderFields() const<br>
> {<br>
> //...<br>
> v.append(d->language.size() == 3 ? d->language : "XXX");<br>
><br>
><br>
</div><div class="im">> The ID3V2.4 spec says it should be an ISO 639-2 code. "XXX" isn't valid.<br>
<br>
</div>Is this a bug in TagLib? I can't find a response to my original message in the list archives.<br>
<br>
Thanks,<br>
<div><div></div><div class="h5">patrick<br>
--<br>
Patrick Machielse<br>
Hieper Software<br>
<br>
<a href="http://www.hieper.nl" target="_blank">http://www.hieper.nl</a><br>
<a href="mailto:info@hieper.nl">info@hieper.nl</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>