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:
@ -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>
|
2007-06-22 Mathias Hasselmann <mathias.hasselmann@gmx.de>
|
||||||
|
|
||||||
* configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
|
* configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
|
||||||
|
@ -76,7 +76,8 @@ class GtkBuilderConverter(object):
|
|||||||
self._parse()
|
self._parse()
|
||||||
|
|
||||||
def to_xml(self):
|
def to_xml(self):
|
||||||
return self._dom.toprettyxml("", "")
|
xml = self._dom.toprettyxml("", "")
|
||||||
|
return xml.encode('utf-8')
|
||||||
|
|
||||||
#
|
#
|
||||||
# Private
|
# Private
|
||||||
|
Reference in New Issue
Block a user