summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdeabc/vcardparser/testutils.cpp1
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();
}