diff options
Diffstat (limited to 'recipes/notez/notez-1.1.0/fix-encoding.patch')
-rw-r--r-- | recipes/notez/notez-1.1.0/fix-encoding.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/notez/notez-1.1.0/fix-encoding.patch b/recipes/notez/notez-1.1.0/fix-encoding.patch new file mode 100644 index 0000000000..54e809b431 --- /dev/null +++ b/recipes/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(); |