diff options
author | David Boddie <dboddie@trolltech.com> | 2010-02-05 14:55:11 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-02-05 14:55:11 (GMT) |
commit | 9426178288bd23cdc280b17779c2e8ebaeb3771e (patch) | |
tree | 3c2f916fb9a5dde72f77fd9a78c77bf2c2dc2625 /tools/qdoc3/linguistgenerator.cpp | |
parent | a2fe25025f75ae750df22c59c338005eeda3d744 (diff) | |
download | Qt-9426178288bd23cdc280b17779c2e8ebaeb3771e.zip Qt-9426178288bd23cdc280b17779c2e8ebaeb3771e.tar.gz Qt-9426178288bd23cdc280b17779c2e8ebaeb3771e.tar.bz2 |
qdoc: Standardized encoding names and updated the Chinese config files.
Reviewed-by: Trust Me
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); |