Commit a02ccb38 authored by Romain Bignon's avatar Romain Bignon

fix encoding issue in feed

parent bb198981
......@@ -124,7 +124,7 @@ class RssListAction(InfoAction):
items=items)
self.ctx.res.content_type = 'application/rss+xml'
self.ctx.res.charset = 'UTF-8'
self.ctx.res.body = rss.to_xml()
self.ctx.res.body = rss.to_xml('utf-8')
class ApiPlugin(Plugin):
def init(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment