We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0703e1d commit be5d6ecCopy full SHA for be5d6ec
xmlrunner/result.py
@@ -68,7 +68,7 @@ def to_unicode(data):
68
return repr(data).decode('utf8', 'replace')
69
70
71
-def safe_unicode(data, encoding=None):
+def safe_unicode(data, encoding='utf-8'):
72
return xml_safe_unicode(to_unicode(data), encoding)
73
74
0 commit comments