With Tobias's library, I've seen that there are special characters (e.g. umlauts) that are incorrectly parsed by the current iTunes code.
I can fix this by adding the following line to findValueByKey in ITunesTrackModel
Instead of: return value.text(); do this: QString textValue = value.text(); return QString::fromUtf8(textValue.toAscii().data(), textValue.size());
Essentially, take the raw data read by Qt (Qt incorrectly thought it was Latin1 encoded) and re-interpret it as UTF-8.
With Tobias's library, I've seen that there are special characters (e.g. umlauts) that are incorrectly parsed by the current iTunes code.
I can fix this by adding the following line to findValueByKey in ITunesTrackModel
Instead of: :fromUtf8( textValue. toAscii( ).data( ), textValue.size());
return value.text();
do this:
QString textValue = value.text();
return QString:
Essentially, take the raw data read by Qt (Qt incorrectly thought it was Latin1 encoded) and re-interpret it as UTF-8.