Re: [Patches] Enhancement of test/check building

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 22 of January 2017 03:16:05 Slávek Banko wrote:
> 4) Test tdeabc/vcardparser/testread2 fail, probably because of some
> erroneous utf8 conversion. For now I've had not examined it in detail
> == patch not included.

Patch for testread2 attached.

-- 
Slávek
Index: b/tdeabc/vcardparser/testutils.cpp
===================================================================
--- a/tdeabc/vcardparser/testutils.cpp
+++ b/tdeabc/vcardparser/testutils.cpp
@@ -113,6 +113,7 @@
     TQFile file( location );
     if ( file.open( IO_ReadOnly ) ) {
         TQTextStream stream( &file );
+        stream.setEncoding( TQTextStream::UnicodeUTF8 );
         if ( !stream.eof() ) {
             line = stream.read();
         }

---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-devel-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting

[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux