Convert Unicode to ASCII without errors in Python
My code just scrapes a web page, then converts it to Unicode. html = urllib.urlopen(link).read() html.encode(“utf8″,”ignore”) self.response.out.write(html) But I get a UnicodeDecodeError: Traceback … Read more