1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

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