[webkit-qt] Load the file with the file Encoding of the URL
Benjamin Poulain
benjamin.poulain at nokia.com
Wed Apr 6 03:52:41 PDT 2011
On 04/06/2011 12:33 PM, ext manas.mohanty at nokia.com wrote:
> We are using the load method below to load a web-page. Is there any way
> I can pass the file encoding(UTF-8 or ISO-8859-1) format along with the
> file Url ?
>
> */void/*/*load*(*const* QUrl &url);/
No.
I suggest you to subclass QNetworkAccessManager to change the http
header with the encoding.
Depending on your use case, it might be easier to just use setHtml().
cheers,
Benjamin
More information about the webkit-qt
mailing list