From 5ec9051f2ef6da7cdd212647c6cf6d185ed50e6a Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Tue, 7 Aug 2018 18:19:08 +0200 Subject: [PATCH] Add charset to opds feed for read books --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index 8fd41410..0e7a389d 100755 --- a/cps/web.py +++ b/cps/web.py @@ -1864,7 +1864,7 @@ def render_read_books(page, are_read, as_xml=False): if as_xml: xml = render_title_template('feed.xml', entries=entries, pagination=pagination) response = make_response(xml) - response.headers["Content-Type"] = "application/xml" + response.headers["Content-Type"] = "application/xml; charset=utf-8" return response else: if are_read: