Package charset provides functions to decode and encode charsets.
It imports all supported charsets, which adds about 1MiB to binaries size. Importing the package automatically sets message.CharsetReader.
Reader returns an io.Reader that converts the provided charset to UTF-8.
RegisterEncoding registers an encoding. This is intended to be called from the init function in packages that want to support additional charsets.