summaryrefslogtreecommitdiffstats
path: root/tdeabc/vcardparser/testread.cpp
diff options
context:
space:
mode:
authorEmanoil Kotsev <deloptes@gmail.com>2016-05-29 02:31:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-05-29 02:31:06 +0200
commit4ceb2b158b3ed1ba1c78ab886b08a0bf40577d51 (patch)
tree4a848e8523433e697f2172ade0fcc1b845ded1ef /tdeabc/vcardparser/testread.cpp
parent51efac909d7b116c8b0ca58fcd4e74ff58f31091 (diff)
downloadtdelibs-4ceb2b158b3ed1ba1c78ab886b08a0bf40577d51.tar.gz
tdelibs-4ceb2b158b3ed1ba1c78ab886b08a0bf40577d51.zip
Fix utf8 support in tdeabc vCard parser
This resolves bug 2625 Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Diffstat (limited to 'tdeabc/vcardparser/testread.cpp')
-rw-r--r--tdeabc/vcardparser/testread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeabc/vcardparser/testread.cpp b/tdeabc/vcardparser/testread.cpp
index 0b87e6621..0be056edb 100644
--- a/tdeabc/vcardparser/testread.cpp
+++ b/tdeabc/vcardparser/testread.cpp
@@ -30,7 +30,7 @@
#include <tdelocale.h>
#include <tdeaboutdata.h>
-#include "vcardconverter.h"
+#include "tdeabc/vcardconverter.h"
#include "vcard.h"
static const TDECmdLineOptions options[] =
@@ -70,7 +70,7 @@ int main( int argc, char **argv )
TQString text;
TQTextStream s( &file );
- s.setEncoding( TQTextStream::Latin1 );
+ s.setEncoding( TQTextStream::UnicodeUTF8 );
text = s.read();
file.close();