mirror of https://github.com/odrling/Aegisub
Write a BOM at the beginning of subtitles to make unpatched VSFilter happy
Closes #1795.
This commit is contained in:
parent
45b5637e35
commit
d61a9664c6
|
@ -78,7 +78,7 @@ void SubtitlesProvider::LoadSubtitles(AssFile *subs, int time) {
|
|||
buffer.push_back('\n');
|
||||
};
|
||||
|
||||
push_header("[Script Info]\n");
|
||||
push_header("\xEF\xBB\xBF[Script Info]\n");
|
||||
for (auto const& line : subs->Info)
|
||||
push_line(line.GetEntryData());
|
||||
|
||||
|
|
Loading…
Reference in New Issue