- input = open(os.path.join(input_path, "html", filename + ".html")).read()
- expectedoutput = open(os.path.join(input_path, "expected", filename + ".txt")).read()
+ input = unicode(open(os.path.join(input_path, "html", filename + ".html")).read(), 'utf-8')
+ expectedoutput = unicode(open(os.path.join(input_path, "expected", filename + ".txt")).read(), 'utf-8')