diff options
Diffstat (limited to 'pyuic3/main.cpp')
| -rw-r--r-- | pyuic3/main.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/pyuic3/main.cpp b/pyuic3/main.cpp index 43c9d7b..e54000c 100644 --- a/pyuic3/main.cpp +++ b/pyuic3/main.cpp @@ -172,7 +172,7 @@ int main( int argc, char * argv[] )      TQTextStream out( &fileOut );      if ( imagecollection ) { -	out.setEncoding( TQTextStream::Latin1 ); +	out.setEncoding( TQTextStream::UnicodeUTF8 );  	out << "# -*- coding: latin-1 -*-\n\n";  	Uic::embed( out, projectName, images );  	return 0; @@ -193,7 +193,7 @@ int main( int argc, char * argv[] )      TQDomElement e = doc.firstChild().toElement();      if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.3 ) {  	tqWarning( TQString("pyuic: File generated with too recent version of TQt Designer (%s vs. %s)"), -		  e.attribute("version").latin1(), TQT_VERSION_STR ); +		  e.attribute("version").utf8(), TQT_VERSION_STR );  	return 1;      } | 
