diff options
author | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-07-25 22:32:21 +0200 |
---|---|---|
committer | Ariya Hidayat <ariya.hidayat@nokia.com> | 2009-07-25 22:32:21 +0200 |
commit | 152d1e714f78738135c1e72248c0b0c30eb2bfbc (patch) | |
tree | 043536e175c30163a841954762131cc0ec931639 | |
parent | d7d99f7127dca586dafe954494a971790cf08c68 (diff) |
Google returns UTF-8 encoded HTML.
-rw-r--r-- | weatherinfo/weatherinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weatherinfo/weatherinfo.cpp b/weatherinfo/weatherinfo.cpp index b3a36fb..aedb668 100644 --- a/weatherinfo/weatherinfo.cpp +++ b/weatherinfo/weatherinfo.cpp @@ -102,7 +102,7 @@ private slots: void handleNetworkData(QNetworkReply *networkReply) { QUrl url = networkReply->url(); if (!networkReply->error()) - digest(networkReply->readAll()); + digest(QString::fromUtf8(networkReply->readAll())); networkReply->deleteLater(); networkReply->manager()->deleteLater(); } |