# HG changeset patch # User neko259 # Date 2016-05-09 17:19:29 # Node ID 93f626a77988c29a454fab8b27e9e4a95bfa4cf6 # Parent a596995db5fd80c7dcaef11d3f8287d7b761f4d4 Use unicode charset for post XML preview diff --git a/boards/views/sync.py b/boards/views/sync.py --- a/boards/views/sync.py +++ b/boards/views/sync.py @@ -57,6 +57,6 @@ def get_post_sync_data(request, post_id) % (post.global_id, xml_repr) return HttpResponse( - content_type='text/plain', + content_type='text/plain; charset=utf-8', content=content, ) \ No newline at end of file