diff options
author | kh1 <qt-info@nokia.com> | 2010-11-18 15:58:55 +0100 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2010-11-18 16:04:27 +0100 |
commit | 71033d5d9ada66e506d03f3ea59dd3ceb0b3b243 (patch) | |
tree | dc83033ea30242f46ea645c5fbc60545fd2e43ae /src/plugins/help/helpviewer.cpp | |
parent | c448ae842d10e476b586871ef9713633047881e7 (diff) | |
download | qt-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.cpp | 7 |
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; |