Write a BOM at the beginning of subtitles to make unpatched VSFilter happy

Closes #1795.
This commit is contained in:
Thomas Goyne 2014-07-23 14:56:32 -07:00
parent 45b5637e35
commit d61a9664c6

View file

@ -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());