summaryrefslogtreecommitdiffstats
path: root/tderesources/carddav/reader.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-01-18 14:13:43 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-18 14:13:43 +0100
commit5a692370051844e966a42abcfc48beae75112539 (patch)
tree27d440e95022da3cc7f3a67c49a3eed5c344e4fc /tderesources/carddav/reader.cpp
parentb415f1f1f41873febdad7448ad04648a148b1ad5 (diff)
downloadtdepim-5a692370051844e966a42abcfc48beae75112539.tar.gz
tdepim-5a692370051844e966a42abcfc48beae75112539.zip
Fix utf8 and html entities handling in CalDAV and CardDAV resources
Diffstat (limited to 'tderesources/carddav/reader.cpp')
-rw-r--r--tderesources/carddav/reader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tderesources/carddav/reader.cpp b/tderesources/carddav/reader.cpp
index 5836bbccc..eb5625060 100644
--- a/tderesources/carddav/reader.cpp
+++ b/tderesources/carddav/reader.cpp
@@ -15,6 +15,7 @@
#include "reader.h"
#include <kdebug.h>
+#include <kcharsets.h>
#include <string>
/*=========================================================================
@@ -47,7 +48,7 @@ int CardDavReader::runJob(runtime_info* RT) {
if (OK == res) {
kdDebug() << "success" << '\n';
if (result->msg) {
- mData = result->msg;
+ mData = KCharsets::resolveEntities(TQString::fromUtf8(result->msg));
} else {
kdDebug() << "empty collection" << '\n';
// empty collection