golang.org/x/text/encoding | Package encoding defines an interface for character encodings, such as Shift JIS and Windows 1252, that can convert to and from UTF-8. |
golang.org/x/text/encoding/internal/identifier | Package identifier defines the contract between implementations of Encoding and Index by defining identifiers that uniquely identify standardized coded character sets (CCS) and character encoding schemes (CES), which we will together refer to as encodings, for which Encoding implementations provide converters to and from UTF-8. |
golang.org/x/text/transform | Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations. |