Support UTF-8 characters in RSS feed

This commit is contained in:
Noah 2014-04-11 18:18:48 +00:00
parent 07f051f17e
commit bd9e398120

View File

@ -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)