From 9731934d1c45b7e6f27b58b9083b23ecbc084288 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 14 Feb 2011 23:33:39 +0100 Subject: This patch cleans up encoding management, moving code to its real position: The appearance settings widget. In fact our code is actually changing "default" text encoding, not the page one "on the fly" --- src/webpage.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/webpage.cpp') diff --git a/src/webpage.cpp b/src/webpage.cpp index 791bb367..b44b2e4d 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -532,13 +532,6 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply) void WebPage::loadStarted() { - // HACK: - // Chinese encoding Fix. See BUG: 251264 - // Use gb18030 instead of gb2312 - if(settings()->defaultTextEncoding() == QL1S("gb2312")) - { - settings()->setDefaultTextEncoding( QL1S("gb18030") ); - } } void WebPage::loadFinished(bool ok) -- cgit v1.2.1