encode utf8 result

This commit is contained in:
Elan Ruusamäe 2012-09-18 22:45:11 +02:00
parent 21cb1f23a6
commit 69c08fbcba

View file

@ -27,7 +27,7 @@ def moin2doku(pagename, text):
parser.format(formatter)
sys.stdout = stdout
return output.getvalue()
return unicode(output.getvalue().decode('utf-8'))
request = RequestCLI()
formatter = Formatter(request)