summaryrefslogtreecommitdiffstats
path: root/tderesources/caldav/reader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources/caldav/reader.cpp')
-rw-r--r--tderesources/caldav/reader.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tderesources/caldav/reader.cpp b/tderesources/caldav/reader.cpp
index 92501e4f7..6d7400340 100644
--- a/tderesources/caldav/reader.cpp
+++ b/tderesources/caldav/reader.cpp
@@ -16,6 +16,7 @@
#include "reader.h"
#include <kdebug.h>
+#include <kcharsets.h>
#include <string>
/*=========================================================================
@@ -61,7 +62,7 @@ int CalDavReader::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
@@ -95,7 +96,7 @@ int CalDavReader::runTasksJob(runtime_info* RT) {
if (OK == tasksres) {
kdDebug() << "success" << '\n';
if (result->msg) {
- mTasksData = result->msg;
+ mTasksData = KCharsets::resolveEntities(TQString::fromUtf8(result->msg));
} else {
kdDebug() << "empty collection" << '\n';
// empty collection
@@ -129,7 +130,7 @@ int CalDavReader::runJournalsJob(runtime_info* RT) {
if (OK == journalsres) {
kdDebug() << "success" << '\n';
if (result->msg) {
- mJournalsData = result->msg;
+ mJournalsData = KCharsets::resolveEntities(TQString::fromUtf8(result->msg));
} else {
kdDebug() << "empty collection" << '\n';
// empty collection