diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2007-04-04 19:15:20 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2007-04-04 19:15:20 (GMT) |
commit | 66353e2ea8318031a0dc02de3599861980e25a51 (patch) | |
tree | 7f7bcc4353ffd2147b592358b06865a518c14d7b /src/xmlgen.cpp | |
parent | cc52853c15833c9a18be11c140b99d94d9e06e9e (diff) | |
download | Doxygen-66353e2ea8318031a0dc02de3599861980e25a51.zip Doxygen-66353e2ea8318031a0dc02de3599861980e25a51.tar.gz Doxygen-66353e2ea8318031a0dc02de3599861980e25a51.tar.bz2 |
Release-1.5.2
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index e0ef129..1cc8375 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -142,8 +142,7 @@ inline void writeXMLCodeString(QTextStream &t,const char *s, int &col) static void writeXMLHeader(QTextStream &t) { - t << "<?xml version='1.0' encoding='" << theTranslator->idLanguageCharset() - << "' standalone='no'?>" << endl;; + t << "<?xml version='1.0' encoding='UTF-8' standalone='no'?>" << endl;; t << "<doxygen xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" "; t << "xsi:noNamespaceSchemaLocation=\"compound.xsd\" "; t << "version=\"" << versionString << "\">" << endl; @@ -1877,8 +1876,7 @@ void generateXML() t.setEncoding(QTextStream::Latin1); // write index header - t << "<?xml version='1.0' encoding='" << theTranslator->idLanguageCharset() - << "' standalone='no'?>" << endl;; + t << "<?xml version='1.0' encoding='UTF-8' standalone='no'?>" << endl;; t << "<doxygenindex xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" "; t << "xsi:noNamespaceSchemaLocation=\"index.xsd\" "; t << "version=\"" << versionString << "\">" << endl; |