summaryrefslogtreecommitdiffstats
path: root/pyuic3/embed.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-01-04 11:15:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-01-04 16:37:05 +0900
commitd31a084fc83d47eef6c6eb3aac76989da9692853 (patch)
tree2a412325bd788cd505bb5cdad90ac498a004e405 /pyuic3/embed.cpp
parent30954661009ddfb9db2e9daed3bfbd594bb20441 (diff)
downloadpytqt-d31a084fc83d47eef6c6eb3aac76989da9692853.tar.gz
pytqt-d31a084fc83d47eef6c6eb3aac76989da9692853.zip
Use utf8 instead of latin1/ascii as default. Address pyuic compatibility with python3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'pyuic3/embed.cpp')
-rw-r--r--pyuic3/embed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp
index 3a66de3..c54104f 100644
--- a/pyuic3/embed.cpp
+++ b/pyuic3/embed.cpp
@@ -149,7 +149,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
for ( it = images.begin(); it != images.end(); ++it ) {
TQImage img;
if ( !img.load( *it ) ) {
- fprintf( stderr, "pyuic: cannot load image file %s\n", (*it).latin1() );
+ fprintf( stderr, "pyuic: cannot load image file %s\n", (*it).utf8() );
continue;
}
EmbedImage *e = new EmbedImage;