summaryrefslogtreecommitdiffstats
path: root/src/ftvhelp.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-06-04 14:15:23 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-06-04 14:15:23 (GMT)
commit88030e6b0efd9ac75cd61eedd75f5a38bf1713c7 (patch)
tree431650e77325cdf55ef9e710fd0ac1a9d87d3486 /src/ftvhelp.cpp
parent9c04d0ffef418ec6c771a0afa4679a4e508ba710 (diff)
downloadDoxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.zip
Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.tar.gz
Doxygen-88030e6b0efd9ac75cd61eedd75f5a38bf1713c7.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())
{