summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-04-04 19:15:20 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-04-04 19:15:20 (GMT)
commitbd691d38fe61aed85189a6675668a67deefd8002 (patch)
tree7f7bcc4353ffd2147b592358b06865a518c14d7b /src/xmlgen.cpp
parent97a3911e2682bfebeebbb8999c9e3844c414c3e0 (diff)
downloadDoxygen-bd691d38fe61aed85189a6675668a67deefd8002.zip
Doxygen-bd691d38fe61aed85189a6675668a67deefd8002.tar.gz
Doxygen-bd691d38fe61aed85189a6675668a67deefd8002.tar.bz2
Release-1.5.2
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp6
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;