Versions in this module Expand all Collapse all v1 v1.8.12 Nov 16, 2021 v1.8.11 Nov 15, 2021 Changes in this version + var ErrBadUTF7 = errors.New("utf7: bad utf-7 encoding") + var WordDec = &mime.WordDecoder + func CharsetReader(charset string, input io.Reader) (io.Reader, error) + func DecodeCharset(original []byte, contentType string) ([]byte, error) + func DecodeHeader(raw string) (decoded string, err error) + func EncodeHeader(s string) string + func NewUtf7Decoder() *encoding.Decoder + func ParseMediaType(v string) (mediatype string, params map[string]string, err error) + func SelectDecoder(charset string) (decoder *encoding.Decoder, err error)