bindings/python: fix conversion of unicode value to UTF-8 for setters
This commit is contained in:
parent
7362567411
commit
c3d451559a
|
@ -418,7 +418,7 @@ if WSF_SUPPORT:
|
|||
print >> fd, ' return t;'
|
||||
# setter
|
||||
print >> fd, ' def set_%s(self, value):' % mname
|
||||
if is_int(m, self.binding_data) or is_xml_node(m) or is_cstring(m) or is_boolean(m):
|
||||
if is_int(m, self.binding_data) or is_xml_node(m) or is_boolean(m):
|
||||
pass
|
||||
elif is_cstring(m):
|
||||
print >> fd, ' value = str2lasso(value)'
|
||||
|
|
Loading…
Reference in New Issue