Support UTF-8 characters in RSS feed
This commit is contained in:
parent
07f051f17e
commit
bd9e398120
|
@ -303,7 +303,7 @@ def xml_add_text_tags(doc, root_node, tags):
|
||||||
for pair in tags:
|
for pair in tags:
|
||||||
name, value = pair
|
name, value = pair
|
||||||
channelTag = doc.createElement(name)
|
channelTag = doc.createElement(name)
|
||||||
channelTag.appendChild(doc.createTextNode(str(value)))
|
channelTag.appendChild(doc.createTextNode(unicode(value)))
|
||||||
root_node.appendChild(channelTag)
|
root_node.appendChild(channelTag)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user