1.1 --- a/moinformat/utils/graphviz.py Sat Apr 13 00:26:57 2019 +0200
1.2 +++ b/moinformat/utils/graphviz.py Sat Apr 13 19:25:53 2019 +0200
1.3 @@ -280,7 +280,7 @@
1.4 def get_inline_output(self):
1.5
1.6 """
1.7 - Return a string containing the document element, excluding XML
1.8 + Return a Unicode string containing the document element, excluding XML
1.9 boilerplate.
1.10 """
1.11
1.12 @@ -289,7 +289,7 @@
1.13
1.14 try:
1.15 parser.parse_data(self.output)
1.16 - return f.getvalue()
1.17 + return unicode(f.getvalue(), "utf-8")
1.18 finally:
1.19 f.close()
1.20