From f4a39d2fde3ef72e32b296fdd783b31d4abfcb76 Mon Sep 17 00:00:00 2001 From: François Andriot Date: Mon, 10 Apr 2023 13:50:22 +0200 Subject: This happens en RHEL7 (gcc 4.8.5) but not on later distributions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- pytqlupdate3/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pytqlupdate3/main.cpp') diff --git a/pytqlupdate3/main.cpp b/pytqlupdate3/main.cpp index 6c708fe..f024072 100644 --- a/pytqlupdate3/main.cpp +++ b/pytqlupdate3/main.cpp @@ -129,13 +129,13 @@ int main( int argc, char **argv ) if ( !codec.isEmpty() ) tor.setCodec( codec ); if ( verbose ) - tqWarning( "Updating '%s'...", (*tf).utf8() ); + tqWarning( "Updating '%s'...", (*tf).local8Bit().data() ); merge( &tor, &fetchedTor, verbose ); if ( noObsolete ) tor.stripObsoleteMessages(); tor.stripEmptyContexts(); if ( !tor.save(*tf) ) - tqWarning( "pytqlupdate error: Cannot save '%s': %s", (*tf).utf8(), + tqWarning( "pytqlupdate error: Cannot save '%s': %s", (*tf).local8Bit().data(), strerror(errno) ); } if ( !metSomething ) { -- cgit v1.2.3