Comment 5 for bug 517916

Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

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.