aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/notez/notez-1.1.0/fix-encoding.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qtopia/notez/notez-1.1.0/fix-encoding.patch')
-rw-r--r--recipes-qtopia/notez/notez-1.1.0/fix-encoding.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-qtopia/notez/notez-1.1.0/fix-encoding.patch b/recipes-qtopia/notez/notez-1.1.0/fix-encoding.patch
new file mode 100644
index 0000000..54e809b
--- /dev/null
+++ b/recipes-qtopia/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();