summaryrefslogtreecommitdiff
path: root/libopie
authorzecke <zecke>2002-04-25 16:11:10 (UTC)
committer zecke <zecke>2002-04-25 16:11:10 (UTC)
commite944a214e0efeccd2eb9cc479ad8893427c6b81d (patch) (side-by-side diff)
tree263f754a34d23738dac6c3dea9dbcb0ce8b6bb3e /libopie
parent48dbc8fb69a5d19f466ea757207e42c3861b4dee (diff)
downloadopie-e944a214e0efeccd2eb9cc479ad8893427c6b81d.zip
opie-e944a214e0efeccd2eb9cc479ad8893427c6b81d.tar.gz
opie-e944a214e0efeccd2eb9cc479ad8893427c6b81d.tar.bz2
This should fix the Umlaut problem
Diffstat (limited to 'libopie') (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
@@ -45,6 +45,7 @@ public:
QFile file( name);
if( file.open(IO_WriteOnly ) ){
QTextStream stream(&file );
+ stream.setEncoding( QTextStream::UnicodeUTF8 );
stream << "<!DOCTYPE Tasks>" << endl;
tasks->save(stream );
delete tasks;