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
This commit is contained in:
Johan Dahlin
2007-06-26 15:21:23 +00:00
parent 07946bd70d
commit 927c852aa9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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,

View File

@ -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