From 97b5a9f18f1708bc0fb9b3eb6c8c22be848aabdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 29 Jan 2017 02:45:55 +0100 Subject: testing: fix utf8 handling in tdeabc/testread2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit e305bd818c9cd470a0b079b4e41eb1e6ac101a52) --- tdeabc/vcardparser/testutils.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tdeabc/vcardparser/testutils.cpp') 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(); } -- cgit v1.2.1