diff options
-rw-r--r-- | src/py/javatoolkit/xml/DomRewriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py/javatoolkit/xml/DomRewriter.py b/src/py/javatoolkit/xml/DomRewriter.py index 7cd5a2f..d1200b6 100644 --- a/src/py/javatoolkit/xml/DomRewriter.py +++ b/src/py/javatoolkit/xml/DomRewriter.py @@ -71,6 +71,6 @@ class DomRewriter: def write(self,stream): - stream.write(self.document.toxml("utf-8")) + stream.write(self.document.toxml('utf-8').decode('utf-8')) # vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap: |