Commit 927c852a authored by Johan Dahlin's avatar Johan Dahlin

Encode the output in utf-8 as suggested by Bogdan Nicula

    * gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode 
    the output in utf-8 as suggested by Bogdan Nicula


svn path=/trunk/; revision=18245
parent 07946bd7
2007-06-26 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode
the output in utf-8 as suggested by Bogdan Nicula
2007-06-22 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
......
......@@ -76,7 +76,8 @@ class GtkBuilderConverter(object):
self._parse()
def to_xml(self):
return self._dom.toprettyxml("", "")
xml = self._dom.toprettyxml("", "")
return xml.encode('utf-8')
#
# Private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment