you can't believe how much man can learn when having good testing points

This commit is contained in:
Miroslav Stampar
2011-01-17 13:59:22 +00:00
parent d225c5c9aa
commit 041abb56e2
2 changed files with 10 additions and 4 deletions

View File

@@ -142,7 +142,7 @@ def decodePage(page, contentEncoding, contentType):
charset = checkCharEncoding(charset)
kb.pageEncoding = charset or DEFAULT_PAGE_ENCODING
return getUnicode(page)
return getUnicode(page, kb.pageEncoding)
def processResponse(page, responseHeaders):
page = getUnicode(page)