mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1054948 - UnicodeDecodeError: 'ascii' codec can't decode byte 0xd8 in position 52852: ordinal not in range(128). r=mdas
This commit is contained in:
parent
fcb9091d95
commit
e2a22232a4
@ -956,4 +956,9 @@ class BaseMarionetteTestRunner(object):
|
||||
_extract_xml_from_skipped_manifest_test(test)
|
||||
|
||||
doc.appendChild(testsuite)
|
||||
|
||||
# change default encoding to avoid encoding problem for page source
|
||||
reload(sys)
|
||||
sys.setdefaultencoding('utf-8')
|
||||
|
||||
return doc.toprettyxml(encoding='utf-8')
|
||||
|
Loading…
Reference in New Issue
Block a user