summaryrefslogtreecommitdiffstats
path: root/tderesources/carddav/writer.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-01-18 14:13:43 +0100
committerSlávek Banko <[email protected]>2014-01-18 14:13:43 +0100
commit5a692370051844e966a42abcfc48beae75112539 (patch)
tree27d440e95022da3cc7f3a67c49a3eed5c344e4fc /tderesources/carddav/writer.h
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/writer.h')
-rw-r--r--tderesources/carddav/writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tderesources/carddav/writer.h b/tderesources/carddav/writer.h
index 9bd9429ab..3bfa76c3c 100644
--- a/tderesources/carddav/writer.h
+++ b/tderesources/carddav/writer.h
@@ -91,7 +91,7 @@ protected:
int pushObjects(const TQString& data, Operation op, int okCode, runtime_info* RT) {
int r = okCode;
if (!data.isNull() && !data.isEmpty()) {
- r = op(std::string(data.ascii()).c_str(), std::string(url().ascii()).c_str(), RT);
+ r = op(std::string(data.utf8()).c_str(), std::string(url().ascii()).c_str(), RT);
}
return r;
}