summaryrefslogtreecommitdiff
path: root/packages/notez/notez-1.1.0/fix-encoding.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/notez/notez-1.1.0/fix-encoding.patch')
-rw-r--r--packages/notez/notez-1.1.0/fix-encoding.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/notez/notez-1.1.0/fix-encoding.patch b/packages/notez/notez-1.1.0/fix-encoding.patch
index e69de29bb2..54e809b431 100644
--- a/packages/notez/notez-1.1.0/fix-encoding.patch
+++ b/packages/notez/notez-1.1.0/fix-encoding.patch
@@ -0,0 +1,18 @@
+--- notez-1.1.0/editWindow.cpp.orig 2002-11-17 17:40:08 +0100
++++ notez-1.1.0/editWindow.cpp 2004-12-22 14:02:13 +0100
+@@ -32,6 +32,7 @@
+ } else {
+
+ QTextStream inStream(&datei);
++ inStream.setEncoding(QTextStream::UnicodeUTF8);
+ editArea->setText(inStream.read());
+ datei.close();
+
+@@ -53,6 +54,7 @@
+ } else {
+
+ QTextStream outStream(&datei);
++ outStream.setEncoding(QTextStream::UnicodeUTF8);
+ outStream << editArea->text();
+ datei.close();
+ this->accept();