mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Fixed unicode chars in raw mode
This commit is contained in:
parent
0722c78e17
commit
9efe17b5d7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue