Versions in this module Expand all Collapse all v0 v0.0.1 Jul 26, 2024 Changes in this version + var ErrNotDetected = chardet.NotDetectedError + func DetermineEncoding(content []byte, contentType string, ...) (e encoding.Encoding, name string, certain bool) + type Detector struct + func NewDetector(opts ...DetectorOption) *Detector + func (d Detector) DetectEncoding(b []byte) (encoding.Encoding, string) + type DetectorOption func(resultFilter) resultFilter + func WithCharset(charsets ...string) DetectorOption + func WithLanguage(langs ...string) DetectorOption + func WithPrefer(f func(a, b chardet.Result) bool) DetectorOption