From bd9e3981209ae3d08aedc662a9a634a2a56ea682 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Fri, 11 Apr 2014 18:18:48 +0000 Subject: [PATCH] Support UTF-8 characters in RSS feed --- rophako/modules/blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rophako/modules/blog.py b/rophako/modules/blog.py index 45423b7..e031824 100644 --- a/rophako/modules/blog.py +++ b/rophako/modules/blog.py @@ -303,7 +303,7 @@ def xml_add_text_tags(doc, root_node, tags): for pair in tags: name, value = pair channelTag = doc.createElement(name) - channelTag.appendChild(doc.createTextNode(str(value))) + channelTag.appendChild(doc.createTextNode(unicode(value))) root_node.appendChild(channelTag)