Write UTF-8 BOM

This commit is contained in:
Star Brilliant 2013-09-19 22:49:41 +08:00
parent 6f16748822
commit 457666cba3

View File

@ -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