var errInvalidName … var errUnknown … var errUnsupported … var matcherOnce … var matcher … // LanguageDefault returns the canonical name of the default encoding for a // given language. func LanguageDefault(tag language.Tag) string { … } // Get returns an Encoding for one of the names listed in // http://www.w3.org/TR/encoding using the Default Index. Matching is case- // insensitive. func Get(name string) (encoding.Encoding, error) { … } // Name reports the canonical name of the given Encoding. It will return // an error if e is not associated with a supported encoding scheme. func Name(e encoding.Encoding) (string, error) { … }