diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-04 14:15:23 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-06-04 14:15:23 (GMT) |
commit | 88030e6b0efd9ac75cd61eedd75f5a38bf1713c7 (patch) | |
tree | 431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/htmlhelp.cpp | |
parent | 9c04d0ffef418ec6c771a0afa4679a4e508ba710 (diff) | |
download | Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.zip Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.tar.gz Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.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" |