diff options
Diffstat (limited to 'src/ftvhelp.cpp')
-rw-r--r-- | src/ftvhelp.cpp | 7 |
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()) { |