not support .ass file?
rhettli opened this issue · comments
Oshine commented
s1, err := astisub.OpenFile("Call.Me.by.Your.Name.2017.BluRay.ass")
if err != nil {
return nil, err
}
// s1.items is nil, why ,if subtitle file is .srt ,it works.
Oshine commented
.ssa file is not .ass file?
Oshine commented
Call.Me.by.Your.Name.2017.BluRay.ass.txt
i am sorry,just this ass file can not parse,i try others ok
Oshine commented
ass two language trs like one,so i must write myself,but still thanks,.srt still works
Quentin Renard commented
I think the problem comes from the fact that the file is UTF16-LE encoded and astisub
doesn't handle it well. If you encode your ass
file in utf8
it seems to be fine 🤔