Mercurial > libervia-backend
diff frontends/wix/param.py @ 34:a544b376b6f0
use proper utf-8 encoding for parsing xml in parameters
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 13 Dec 2009 18:36:20 +1100 |
parents | 925ab466c5ec |
children | a5b5fb5fc9fd |
line wrap: on
line diff
--- a/frontends/wix/param.py Tue Dec 08 09:54:44 2009 +0100 +++ b/frontends/wix/param.py Sun Dec 13 18:36:20 2009 +1100 @@ -57,7 +57,7 @@ panel=wx.Panel(self.notebook) panel.sizer = wx.BoxSizer(wx.VERTICAL) - cat_dom = minidom.parseString(self.host.bridge.getParamsForCategory(category)) + cat_dom = minidom.parseString(self.host.bridge.getParamsForCategory(category).encode('utf-8')) for param in cat_dom.documentElement.getElementsByTagName("param"): name = param.getAttribute("name")