mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
fix #835 , can display unicode character correctly
This commit is contained in:
parent
57cd9022d9
commit
b7bea03c68
@ -228,7 +228,8 @@ class ViewHTML(View):
|
||||
s = lxml.etree.tostring(
|
||||
d,
|
||||
pretty_print=True,
|
||||
doctype=docinfo.doctype
|
||||
doctype=docinfo.doctype,
|
||||
encoding='utf8'
|
||||
)
|
||||
return "HTML", format_text(s)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user