morss: specify server output encoding
parent
3c7f512583
commit
47b33f4baa
|
@ -554,6 +554,8 @@ def cgi_app(environ, start_response):
|
||||||
else:
|
else:
|
||||||
headers['content-type'] = 'text/xml'
|
headers['content-type'] = 'text/xml'
|
||||||
|
|
||||||
|
headers['content-type'] += '; charset=utf-8'
|
||||||
|
|
||||||
crawler.default_cache = crawler.SQLiteCache(os.path.join(os.getcwd(), 'morss-cache.db'))
|
crawler.default_cache = crawler.SQLiteCache(os.path.join(os.getcwd(), 'morss-cache.db'))
|
||||||
|
|
||||||
# get the work done
|
# get the work done
|
||||||
|
|
Loading…
Reference in New Issue