summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/tododb.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/tododb.cpp b/libopie/tododb.cpp
index c486723..33fa177 100644
--- a/libopie/tododb.cpp
+++ b/libopie/tododb.cpp
@@ -46,4 +46,5 @@ public:
if( file.open(IO_WriteOnly ) ){
QTextStream stream(&file );
+ stream.setEncoding( QTextStream::UnicodeUTF8 );
stream << "<!DOCTYPE Tasks>" << endl;
tasks->save(stream );