From 71033d5d9ada66e506d03f3ea59dd3ceb0b3b243 Mon Sep 17 00:00:00 2001 From: kh1 <qt-info@nokia.com> Date: Thu, 18 Nov 2010 15:58:55 +0100 Subject: [PATCH] Specify the used charset, fixes e.g. polish translation. --- src/plugins/help/helpviewer.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/help/helpviewer.cpp b/src/plugins/help/helpviewer.cpp index fe0799b0e41..41c7ae7f814 100644 --- a/src/plugins/help/helpviewer.cpp +++ b/src/plugins/help/helpviewer.cpp @@ -51,9 +51,10 @@ const QString HelpViewer::AboutBlankPage = QCoreApplication::translate("HelpViewer", "<title>about:blank</title>"); const QString HelpViewer::PageNotFoundMessage = - QCoreApplication::translate("HelpViewer", "<title>Error 404...</title><div " - "align=\"center\"><br><br><h1>The page could not be found</h1><br><h3>'%1'" - "</h3></div>"); + QCoreApplication::translate("HelpViewer", "<html><head><meta http-equiv=\"" + "content-type\" content=\"text/html; charset=UTF-8\"><title>Error 404...</title>" + "</head><body><div align=\"center\"><br><br><h1>The page could not be found</h1>" + "<br><h3>'%1'</h3></div></body>"); struct ExtensionMap { const char *extension; -- GitLab