[Kst] kdeextragear-2/kst

George Staikos staikos at kde.org
Fri Nov 28 08:51:58 CET 2003


CVS commit by staikos: 

Processing directive in Kst files so the parser knows it's encoded with UTF-8

CCMAIL: 67369-done at bugs.kde.org


  M +2 -0      TODO   1.17
  M +1 -0      kst/kstdoc.cpp   1.45


--- kdeextragear-2/kst/TODO  #1.16:1.17
@@ -23,4 +23,6 @@
 Move the graphing engine into a separate library
 
+Write files out with QDom instead of a text stream
+
 ---------------------------
 Cleanup:

--- kdeextragear-2/kst/kst/kstdoc.cpp  #1.44:1.45
@@ -264,4 +264,5 @@ bool KstDoc::saveDocument(const QString 
   QTextStream ts(&f);
 
+  ts << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << endl;
   ts << "<kstdoc>" << endl;
   // save window geometry for this kst file





More information about the Kst mailing list