Commit 6b4e2e34 by muzaffaryousaf Committed by Ned Batchelder

Defining charset to "utf8".

TNL-6553

(cherry-picked from f1655051)
parent 7d17b5d2
...@@ -269,7 +269,8 @@ class VideoStudentViewHandlers(object): ...@@ -269,7 +269,8 @@ class VideoStudentViewHandlers(object):
headerlist=[ headerlist=[
('Content-Disposition', 'attachment; filename="{}"'.format(transcript_filename.encode('utf8'))), ('Content-Disposition', 'attachment; filename="{}"'.format(transcript_filename.encode('utf8'))),
('Content-Language', self.transcript_language), ('Content-Language', self.transcript_language),
] ],
charset='utf8'
) )
response.content_type = transcript_mime_type response.content_type = transcript_mime_type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment