2016-04-12 08:49:32 |
Dan Chapman |
description |
Not sure if this is a bug or i'm doing something wrong.
In Dekko when trying to set the charset like QNetworkReply::setHeader(QNetworkRequest::ContentTypeHeader, QString("text/html, charset=utf-8")) the page get's rendered as the raw html (See the attached image). So the charset has to be omitted in order to display the formatted content.
The Qt docs imply i am correct in trying to set the charset this way. Is there some other way i'm supposed to do this with Oxide's QNetworkAccessManager bridge?
Cheers
Dan |
Not sure if this is a bug or i'm doing something wrong.
In Dekko when trying to set the charset like QNetworkReply::setHeader(QNetworkRequest::ContentTypeHeader, QString("text/html; charset=utf-8")) the page get's rendered as the raw html (See the attached image). So the charset has to be omitted in order to display the formatted content.
The Qt docs imply i am correct in trying to set the charset this way. Is there some other way i'm supposed to do this with Oxide's QNetworkAccessManager bridge?
Cheers
Dan |
|