summaryrefslogtreecommitdiffstats
path: root/tderesources/carddav
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2016-05-29 02:39:50 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-05-29 02:40:05 +0200
commit12ab541ee6de290277de72cb82072ebd52525b1c (patch)
treece6db8d3f0957e61cffea2c22d496395723b5e57 /tderesources/carddav
parent82b9cb4db5da1ab52648348223e54b3c1a468e26 (diff)
downloadtdepim-12ab541ee6de290277de72cb82072ebd52525b1c.tar.gz
tdepim-12ab541ee6de290277de72cb82072ebd52525b1c.zip
Fix utf8 handling in CardDAV
This relates to bug 2625 Signed-off-by: Emanoil Kotsev <deloptes@gmail.com> (cherry picked from commit 5b9cd454fb9dae99dc766b72bd049f826f4ddf66)
Diffstat (limited to 'tderesources/carddav')
-rw-r--r--tderesources/carddav/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tderesources/carddav/resource.cpp b/tderesources/carddav/resource.cpp
index 2161e4afe..3da63e4b3 100644
--- a/tderesources/carddav/resource.cpp
+++ b/tderesources/carddav/resource.cpp
@@ -427,7 +427,7 @@ bool ResourceCardDav::checkData(const TQString& data) {
TDEABC::VCardConverter converter;
bool ret = true;
TDEABC::VCardConverter conv;
- Addressee::List addressees = conv.parseVCards( data.utf8() );
+ Addressee::List addressees = conv.parseVCards( data );
if (addressees.isEmpty() == true) {
ret = false;
}
@@ -456,7 +456,7 @@ bool ResourceCardDav::parseData(const TQString& data) {
log("actually parsing the data");
TDEABC::VCardConverter conv;
- Addressee::List addressees = conv.parseVCards( data.utf8() );
+ Addressee::List addressees = conv.parseVCards( data );
Addressee::List::ConstIterator it;
for( it = addressees.begin(); it != addressees.end(); ++it ) {
TDEABC::Addressee addr = *it;