summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2016-02-12 16:29:46 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2016-02-16 14:03:16 +0000
commitbe546884d6de4b9fed290fcb12cf1ee9b6f6df94 (patch)
treecc08f6c7c9412df8a4dafb101dad9200957494c9 /src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
parent31efe25d14bdcf42ad15b64731314ffdad431714 (diff)
Doc: State equivalent of setHtml more precisely
Calling setContent with mimeType "text/html" does not use UTF-8 encoding. The character set must be specified. Change-Id: I67e3273afd0503b333e718e4706852d911fed2e4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc')
-rw-r--r--src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
index 1ec831ac2..07fb5f1cd 100644
--- a/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
+++ b/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
@@ -134,7 +134,8 @@
through the \c charset attribute of the HTML script tag. Alternatively, the
encoding can be specified by the web server.
- This is a convenience function equivalent to setContent(html, "text/html", baseUrl).
+ This is a convenience function equivalent to
+ \c{setContent(html, "text/html;charset=UTF-8", baseUrl)}.
\warning This function works only for HTML. For other MIME types (such as XHTML or SVG),
setContent() should be used instead.