Write UTF-8 BOM
This commit is contained in:
parent
6f16748822
commit
457666cba3
@ -104,7 +104,8 @@ def ConvertTimestamp(timestamp):
|
||||
|
||||
def WriteASSHead(f, width, height, fontface, fontsize, alpha):
|
||||
f.write(
|
||||
'''[Script Info]
|
||||
'''\ufeff
|
||||
[Script Info]
|
||||
ScriptType: v4.00+
|
||||
Collisions: Normal
|
||||
PlayResX: %(width)s
|
||||
|
Loading…
Reference in New Issue
Block a user