Fix format function for non ascii char

bzr revid: ced-e9f7ba3644ce1223b45de7a8ef1334ef43388d7f
This commit is contained in:
ced 2007-08-16 14:10:05 +00:00
parent 3ad7cb3424
commit 780016163b
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class rml_parse(object):
for i in range(len(lst)):
newnode = node.cloneNode(1)
newnode.tagName='para'
newnode.__dict__['childNodes'][0].__dict__['data'] = ' %s '%lst[i]
newnode.__dict__['childNodes'][0].__dict__['data'] = lst[i].decode('utf8')
if ns:
pp.insertBefore(newnode, ns)
else: