<div dir="ltr"><div class="">
<div class="">
<p>Noticed a change in Taglib 1.10 from 1.9 in the way ID3v1
tags are returned and wondering if this is deliberate or a side-effect,
and either way is it desireable? I have not been able to test 1.11 yet
to see what happens there.</p>
<p>In 1.9 accessing ID3v1 tags using <code>to8Bit</code> returned a
standard nul terminated string the size of the actual text as happens
for ID3v2 tags, but in 1.10 this string is always padded with nul characters
to a fixed size. This means that using size() or empty() on the returned
string is meaningless. Generally the trailing nul padding is not too
much an issue, but it makes it harder to detect an empty tag. The wiki
says that this should return nul, but for ID3v1 it is returning a
string of nul characters instead.</p>
<p>If 1.10 behaviour is to be kept, then it would be good to highlight this change in the release notes.</p>
</div>
</div></div>