diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2017-01-29 02:45:55 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-07-22 15:56:52 +0200 |
commit | cce22677bab43c30df22235a3585e55de7e9b142 (patch) | |
tree | 5abdc10631a4c94ddf22d2f6a1a90f203f4a04e2 /kabc/vcardparser | |
parent | 3adc5018bf24c5705caa4dd5891476168d08c1c4 (diff) | |
download | tdelibs-cce22677bab43c30df22235a3585e55de7e9b142.tar.gz tdelibs-cce22677bab43c30df22235a3585e55de7e9b142.zip |
testing: fix utf8 handling in tdeabc/testread2
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e305bd818c9cd470a0b079b4e41eb1e6ac101a52)
Diffstat (limited to 'kabc/vcardparser')
-rw-r--r-- | kabc/vcardparser/testutils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kabc/vcardparser/testutils.cpp b/kabc/vcardparser/testutils.cpp index ebd50c22c..f6508669b 100644 --- a/kabc/vcardparser/testutils.cpp +++ b/kabc/vcardparser/testutils.cpp @@ -113,6 +113,7 @@ vcardAsText( const TQString& location ) TQFile file( location ); if ( file.open( IO_ReadOnly ) ) { TQTextStream stream( &file ); + stream.setEncoding( TQTextStream::UnicodeUTF8 ); if ( !stream.eof() ) { line = stream.read(); } |