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-01-29 02:45:55 +0100 |
commit | e305bd818c9cd470a0b079b4e41eb1e6ac101a52 (patch) | |
tree | 6503ebbb9981de5a2eba8b72d8fb610d845f39a1 | |
parent | 24b4a81573159dee3527a1aeba7d5810fffa9571 (diff) | |
download | tdelibs-e305bd818c9cd470a0b079b4e41eb1e6ac101a52.tar.gz tdelibs-e305bd818c9cd470a0b079b4e41eb1e6ac101a52.zip |
testing: fix utf8 handling in tdeabc/testread2
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | tdeabc/vcardparser/testutils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tdeabc/vcardparser/testutils.cpp b/tdeabc/vcardparser/testutils.cpp index 21348d341..2a89d82dd 100644 --- a/tdeabc/vcardparser/testutils.cpp +++ b/tdeabc/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(); } |