Skip to content
Extraits de code Groupes Projets
Valider d61a9664 rédigé par Thomas Goyne's avatar Thomas Goyne
Parcourir les fichiers

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

Closes #1795.
parent 45b5637e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -78,7 +78,7 @@ void SubtitlesProvider::LoadSubtitles(AssFile *subs, int time) { ...@@ -78,7 +78,7 @@ void SubtitlesProvider::LoadSubtitles(AssFile *subs, int time) {
buffer.push_back('\n'); buffer.push_back('\n');
}; };
push_header("[Script Info]\n"); push_header("\xEF\xBB\xBF[Script Info]\n");
for (auto const& line : subs->Info) for (auto const& line : subs->Info)
push_line(line.GetEntryData()); push_line(line.GetEntryData());
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter