[Webkit-unassigned] [Bug 25863] [Qt] Expose default encoding in qt
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 22 22:29:06 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25863
------- Comment #3 from zecke at selfish.org 2009-05-22 22:29 PDT -------
(From update of attachment 30471)
> Index: WebKit/qt/ChangeLog
> ===================================================================
> --- WebKit/qt/ChangeLog (revision 43858)
> +++ WebKit/qt/ChangeLog (working copy)
> @@ -1,3 +1,15 @@
> +2009-05-19 Jakob Truelsen <antialize at gmail.com>
> +
> + Reviewed by NOBODY (OOPS!).
> +
> + Expose the default text encoding property to QT
^^^ no tabs!
> /*!
> + \since 4.6
> + Specifies the default text encoding system.
> +
> + The \a encoding, must be a string describing an encoding such as “utf-8”, “iso-8859-1", etc.
> +
> + \sa defaultTextEncoding()
> +*/
> +void QWebSettings::setDefaultTextEncoding(const QString &encoding)
> +{
> + d->defaultTextEncoding = encoding;
> + d->apply();
> +}
For the doc string, maybe you should refer to the Qt TextCodec's for other
encodings and that an empty string will use whatever default?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list