This commit is contained in:
Martin Rotter 2017-01-25 07:01:22 +01:00
parent 4541ff5ead
commit fd67248bc2
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
3.3.8
—————
Fixed:
▪ Percent HTML encoding is now decoded when messages are downloaded. (bug #83)
3.3.6
—————

View file

@ -155,9 +155,10 @@ void Feed::run() {
// Now, do some general operations on messages (tweak encoding etc.).
for (int i = 0; i < msgs.size(); i++) {
msgs[i].m_contents = msgs[i].m_contents.toUtf8();
// Also, make sure that HTML encoding, encoding of special characters, etc., is fixed.
msgs[i].m_contents = QUrl::fromPercentEncoding(msgs[i].m_contents.toUtf8());
msgs[i].m_author = msgs[i].m_author.toUtf8();
msgs[i].m_title = msgs[i].m_title.toUtf8();
msgs[i].m_title = QUrl::fromPercentEncoding(msgs[i].m_title.toUtf8());
}
emit messagesObtained(msgs, error_during_obtaining);