summaryrefslogtreecommitdiffstats
path: root/src/outputgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/outputgen.cpp')
-rw-r--r--src/outputgen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/outputgen.cpp b/src/outputgen.cpp
index b765eec..722558d 100644
--- a/src/outputgen.cpp
+++ b/src/outputgen.cpp
@@ -28,6 +28,9 @@ OutputGenerator::OutputGenerator()
b.setBuffer(a);
b.open( IO_WriteOnly );
t.setDevice(&b);
+#if QT_VERSION >= 200
+ t.setEncoding(QTextStream::Latin1);
+#endif
active=TRUE;
genStack = new QStack<bool>;
genStack->setAutoDelete(TRUE);