Commit d6d10481 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Enforce utf8 in auto generated subtitles

parent 4314c870
Pipeline #50330 passed with stage
in 10 minutes and 30 seconds
......@@ -57,6 +57,6 @@ def transcribe():
subtitle = srt.compose(transcribe())
print (subtitle)
with open(sys.argv[4], 'w') as f:
with open(sys.argv[4], 'w',encoding='utf8') as f:
f.writelines(subtitle)
f.close()
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