diff options
Diffstat (limited to 'pylupdate3/main.cpp')
-rw-r--r-- | pylupdate3/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pylupdate3/main.cpp b/pylupdate3/main.cpp index 8b0c24c..a3a0f3f 100644 --- a/pylupdate3/main.cpp +++ b/pylupdate3/main.cpp @@ -118,7 +118,7 @@ int main( int argc, char **argv ) translatorFiles.append( *t ); metSomething = TRUE; } else if ( it.key() == TQString("CODEC") ) { - codec = (*t).latin1(); + codec = (*t).utf8(); } } } @@ -129,13 +129,13 @@ int main( int argc, char **argv ) if ( !codec.isEmpty() ) tor.setCodec( codec ); if ( verbose ) - tqWarning( "Updating '%s'...", (*tf).latin1() ); + tqWarning( "Updating '%s'...", (*tf).utf8() ); merge( &tor, &fetchedTor, verbose ); if ( noObsolete ) tor.stripObsoleteMessages(); tor.stripEmptyContexts(); if ( !tor.save(*tf) ) - tqWarning( "pylupdate error: Cannot save '%s': %s", (*tf).latin1(), + tqWarning( "pylupdate error: Cannot save '%s': %s", (*tf).utf8(), strerror(errno) ); } if ( !metSomething ) { |