use proper utf-8 encoding for parsing xml in parameters
This commit is contained in:
parent
a5c34eeec9
commit
f45ae91d41
1 changed files with 4 additions and 4 deletions
|
|
@ -57,7 +57,7 @@ class Param(wx.Frame):
|
|||
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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue