Commit caf15f85 authored by Russ Cox's avatar Russ Cox

codereview: handle UTF-8 in message descriptions

what a terrible way to implement strings

R=r
https://golang.org/cl/156116
parent d324a851
......@@ -1310,7 +1310,7 @@ class FormParser(HTMLParser):
self.handle_data("&" + name + ";")
def handle_data(self, data):
if self.curdata is not None:
self.curdata += data
self.curdata += data.decode("utf-8").encode("utf-8")
# XML parser
def XMLGet(ui, path):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment