There exist some STL files in the wild, which contain userdata not parsable using the charset from GSI. This is the case for some kinds of software, which carry meta information in EBN-254 text fields. This is intended to make the StlParser usable, even if producers of subtitles incorrectly implement the EBU STL standard.
StlParser: Gracefully parse text field (TF)
Fall back to default charset in case of CoderMalfunctionError when reading the TF String.
There exist some STL files in the wild, which contain userdata not parsable using the charset from
GSI
. This is the case for some kinds of software, which carry meta information in EBN-254 text fields. This is intended to make theStlParser
usable, even if producers of subtitles incorrectly implement the EBU STL standard.StlParser: Gracefully parse text field (TF)
Fall back to default charset in case of
CoderMalfunctionError
when reading theTF
String.StlParser: flag to ignore Userdata
Ignore EBN 254 Userdata if flag is set to true
Also added .gitignore