Fixed unicode chars in raw mode

This commit is contained in:
Martin Mahner 2011-09-08 18:01:37 -07:00
parent 0722c78e17
commit 9efe17b5d7

View file

@ -75,7 +75,7 @@ def snippet_details(request, snippet_id, template_name='dpaste/snippet_details.h
)
if is_raw:
response['Content-Type'] = 'text/plain'
response['Content-Type'] = 'text/plain;charset=UTF-8'
return response
else:
return response