That won't work. To fix this encoding mess, you'll probably need to do something like this:
response = response.decode('iso-8859-1').encode('utf-8')
(assuming you are sure the original encoding is iso-8859-1 and the one declared in the document is utf-8).
That won't work. To fix this encoding mess, you'll probably need to do something like this:
response = response. decode( 'iso-8859- 1').encode( 'utf-8' )
(assuming you are sure the original encoding is iso-8859-1 and the one declared in the document is utf-8).