summaryrefslogtreecommitdiff
path: root/src/plugins/help/helpviewer.cpp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2010-11-18 15:58:55 +0100
committerkh1 <qt-info@nokia.com>2010-11-18 16:04:27 +0100
commit71033d5d9ada66e506d03f3ea59dd3ceb0b3b243 (patch)
treedc83033ea30242f46ea645c5fbc60545fd2e43ae /src/plugins/help/helpviewer.cpp
parentc448ae842d10e476b586871ef9713633047881e7 (diff)
downloadqt-creator-71033d5d9ada66e506d03f3ea59dd3ceb0b3b243.tar.gz
Specify the used charset, fixes e.g. polish translation.
Diffstat (limited to 'src/plugins/help/helpviewer.cpp')
-rw-r--r--src/plugins/help/helpviewer.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/help/helpviewer.cpp b/src/plugins/help/helpviewer.cpp
index fe0799b0e4..41c7ae7f81 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;