Source

py-patches / xmlgen-real-unicode

Full commit
# HG changeset patch
# Parent e17bdc9a601aa4de404df62d66d0decfcf2dcc71
add missung unicode transform to the xml serialization

diff --git a/py/_xmlgen.py b/py/_xmlgen.py
--- a/py/_xmlgen.py
+++ b/py/_xmlgen.py
@@ -52,7 +52,7 @@ class Tag(list):
     def unicode(self, indent=2):
         l = []
         SimpleUnicodeVisitor(l.append, indent).visit(self)
-        return "".join(l)
+        return u("").join(l)
 
     def __repr__(self):
         name = self.__class__.__name__