chore: use utf8 for decoding metadata value
This commit is contained in:
parent
c9e3274188
commit
066b8458f4
|
@ -34,7 +34,7 @@ void Exiv2Wrapper::cacheSection(Collection collection)
|
||||||
QString label = QString::fromLocal8Bit(it->tagLabel().c_str());
|
QString label = QString::fromLocal8Bit(it->tagLabel().c_str());
|
||||||
std::ostringstream stream;
|
std::ostringstream stream;
|
||||||
stream << *it;
|
stream << *it;
|
||||||
QString value = QString::fromLocal8Bit(stream.str().c_str());
|
QString value = QString::fromUtf8(stream.str().c_str());
|
||||||
m_metadataValue.insert(key, value);
|
m_metadataValue.insert(key, value);
|
||||||
m_metadataLabel.insert(key, label);
|
m_metadataLabel.insert(key, label);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user