diff options
author | David Boddie <dboddie@trolltech.com> | 2010-02-09 15:45:28 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-02-09 15:45:28 (GMT) |
commit | c908a57a54b7ad63ec06b7dcf7b3c5a4d54dd999 (patch) | |
tree | d313be14b4574a78354ec9dad8dcd1e6fd0c54de /tools/qdoc3/linguistgenerator.cpp | |
parent | 3abc322eb6834aa61cc77d73dbd17c4389accb00 (diff) | |
parent | 4027c52d9fb6ea1bca13e1f3a2bc5ac5032387e0 (diff) | |
download | Qt-c908a57a54b7ad63ec06b7dcf7b3c5a4d54dd999.zip Qt-c908a57a54b7ad63ec06b7dcf7b3c5a4d54dd999.tar.gz Qt-c908a57a54b7ad63ec06b7dcf7b3c5a4d54dd999.tar.bz2 |
Merge branch 'qdoc-i18n'
Diffstat (limited to 'tools/qdoc3/linguistgenerator.cpp')
-rw-r--r-- | tools/qdoc3/linguistgenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qdoc3/linguistgenerator.cpp b/tools/qdoc3/linguistgenerator.cpp index d1bd22d..21678e0 100644 --- a/tools/qdoc3/linguistgenerator.cpp +++ b/tools/qdoc3/linguistgenerator.cpp @@ -89,7 +89,7 @@ QString LinguistGenerator::fileExtension(const Node * /* node */) void LinguistGenerator::generateClassLikeNode(const InnerNode *inner, CodeMarker *marker) { - out().setCodec("utf-8"); + out().setCodec("UTF-8"); QDomDocument document("TS"); QDomElement documentElement = document.createElement("TS"); @@ -100,7 +100,7 @@ void LinguistGenerator::generateClassLikeNode(const InnerNode *inner, CodeMarker documentElement.appendChild(element); QDomProcessingInstruction process = document.createProcessingInstruction( - "xml", QString("version=\"1.0\" encoding=\"%1\"").arg("utf-8")); + "xml", QString("version=\"1.0\" encoding=\"%1\"").arg("UTF-8")); document.appendChild(process); document.appendChild(documentElement); |