Imports golang.org/x/text/encoding/charmap github.com/asticode/go-astisub github.com/saintfish/chardet golang.org/x/text/transform Standard library imports bytes errors fmt io io/ioutil math strings time