encode utf8 result
This commit is contained in:
parent
21cb1f23a6
commit
69c08fbcba
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ def moin2doku(pagename, text):
|
||||||
parser.format(formatter)
|
parser.format(formatter)
|
||||||
sys.stdout = stdout
|
sys.stdout = stdout
|
||||||
|
|
||||||
return output.getvalue()
|
return unicode(output.getvalue().decode('utf-8'))
|
||||||
|
|
||||||
request = RequestCLI()
|
request = RequestCLI()
|
||||||
formatter = Formatter(request)
|
formatter = Formatter(request)
|
||||||
|
|
Loading…
Reference in a new issue