From 5a692370051844e966a42abcfc48beae75112539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 18 Jan 2014 14:13:43 +0100 Subject: Fix utf8 and html entities handling in CalDAV and CardDAV resources --- tderesources/carddav/reader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tderesources/carddav/reader.cpp') 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 +#include #include /*========================================================================= @@ -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 -- cgit v1.2.1