From 2094c715dbbdb60b5f821d2010476e00ab0cc6d0 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 23 Jan 2012 09:44:17 +0000 Subject: [PATCH] minor update --- lib/request/basic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/request/basic.py b/lib/request/basic.py index 7f2fae3ed..35edd0406 100644 --- a/lib/request/basic.py +++ b/lib/request/basic.py @@ -139,6 +139,8 @@ def checkCharEncoding(encoding): encoding = 'iso%s' % encoding[4:] elif encoding.find('ascii') > 0: encoding = 'ascii' + elif encoding.find('utf8') > 0: + encoding = 'utf8' # http://philip.html5.org/data/charsets-2.html if encoding in translate: