mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
Merge pull request #836 from MatthewShao/fix#835
Fix #835 , can display unicode character correctly
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user