Add parse error ignore mode
Closed this issue · 0 comments
cdown commented
iconv has a useful flag, //IGNORE
, which ignores encoding errors but otherwise continues. We could also support this by having more scaffolding around _raise_if_not_contiguous
, maybe just turning it into a warning instead.
The default behaviour would still be to error, but it could be turned off in order to allow parsing subtitles with some subset of broken SRT blocks.