summaryrefslogtreecommitdiff
authorzecke <zecke>2002-04-25 16:11:10 (UTC)
committer zecke <zecke>2002-04-25 16:11:10 (UTC)
commite944a214e0efeccd2eb9cc479ad8893427c6b81d (patch) (unidiff)
tree263f754a34d23738dac6c3dea9dbcb0ce8b6bb3e
parent48dbc8fb69a5d19f466ea757207e42c3861b4dee (diff)
downloadopie-e944a214e0efeccd2eb9cc479ad8893427c6b81d.zip
opie-e944a214e0efeccd2eb9cc479ad8893427c6b81d.tar.gz
opie-e944a214e0efeccd2eb9cc479ad8893427c6b81d.tar.bz2
This should fix the Umlaut problem
Diffstat (more/less context) (show 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:
45 QFile file( name); 45 QFile file( name);
46 if( file.open(IO_WriteOnly ) ){ 46 if( file.open(IO_WriteOnly ) ){
47 QTextStream stream(&file ); 47 QTextStream stream(&file );
48 stream.setEncoding( QTextStream::UnicodeUTF8 );
48 stream << "<!DOCTYPE Tasks>" << endl; 49 stream << "<!DOCTYPE Tasks>" << endl;
49 tasks->save(stream ); 50 tasks->save(stream );
50 delete tasks; 51 delete tasks;