diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-06-04 14:15:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-06-04 14:15:23 (GMT) |
commit | e90eb41e09adeb8970ef9a64fb8f163f068d7b17 (patch) | |
tree | 431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/htmlhelp.cpp | |
parent | cd76bda7e377a14bd6b3d321425cf462a46a3f75 (diff) | |
download | Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.zip Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.tar.gz Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.tar.bz2 |
Release-1.2.8
Diffstat (limited to 'src/htmlhelp.cpp')
-rw-r--r-- | src/htmlhelp.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/htmlhelp.cpp b/src/htmlhelp.cpp index f49374f..482b53a 100644 --- a/src/htmlhelp.cpp +++ b/src/htmlhelp.cpp @@ -264,6 +264,9 @@ void HtmlHelp::initialize() } /* Write the header of the contents file */ cts.setDevice(cf); +#if QT_VERSION >= 200 + cts.setEncoding(QTextStream::Latin1); +#endif cts << "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">\n" "<HTML><HEAD></HEAD><BODY>\n" "<OBJECT type=\"text/site properties\">\n" @@ -281,6 +284,9 @@ void HtmlHelp::initialize() } /* Write the header of the contents file */ kts.setDevice(kf); +#if QT_VERSION >= 200 + kts.setEncoding(QTextStream::Latin1); +#endif kts << "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">\n" "<HTML><HEAD></HEAD><BODY>\n" "<OBJECT type=\"text/site properties\">\n" @@ -297,6 +303,10 @@ void HtmlHelp::createProjectFile() if (f.open(IO_WriteOnly)) { QTextStream t(&f); +#if QT_VERSION >= 200 + t.setEncoding(QTextStream::Latin1); +#endif + QCString indexName="index.html"; if (Config_getBool("GENERATE_TREEVIEW")) indexName="main.html"; t << "[OPTIONS]\n" |