summaryrefslogtreecommitdiffstats
path: root/src/ftvhelp.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-06-04 14:15:23 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-06-04 14:15:23 (GMT)
commite90eb41e09adeb8970ef9a64fb8f163f068d7b17 (patch)
tree431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/ftvhelp.cpp
parentcd76bda7e377a14bd6b3d321425cf462a46a3f75 (diff)
downloadDoxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.zip
Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.tar.gz
Doxygen-e90eb41e09adeb8970ef9a64fb8f163f068d7b17.tar.bz2
Release-1.2.8
Diffstat (limited to 'src/ftvhelp.cpp')
-rw-r--r--src/ftvhelp.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp
index 2dfe90c..38c2e72 100644
--- a/src/ftvhelp.cpp
+++ b/src/ftvhelp.cpp
@@ -274,6 +274,9 @@ static void generateFolderTreeViewData()
else
{
QTextStream t(&f);
+#if QT_VERSION >= 200
+ t.setEncoding(QTextStream::Latin1);
+#endif
t << "<html><head>";
t << "<meta http-equiv=\"Content-Type\" content=\"text/html;charset="
<< theTranslator->idLanguageCharset() << "\">\n";
@@ -389,6 +392,10 @@ void FTVHelp::initialize()
}
/* Write the header of the contents file */
m_cts.setDevice(m_cf);
+#if QT_VERSION >= 200
+ m_cts.setEncoding(QTextStream::Latin1);
+#endif
+
m_cts << "foldersTree = gFld(\"<b>";
if (Config_getString("PROJECT_NAME").isEmpty())
{