The CESU-8 module handle the Compatibility Encoding Scheme for
UTF-16: 8-Bit.
The unicode_encoding
module contains the UnicodeEncoding
trait that
contains the common capabilities for all Unicode encodings.
This module handle the now deprecated UTF-1 encoding.
The UTF-8 module is quite important as it can be used to convert Rust’s
strings into the other unicode encoding types.
The UTF-16 module manipulates UTF-16 data.
The UTF-32 module is the Rosetta Stone of this module, all other modules
only convert from and to UTF-32. Thus, this module only need to take care
of writing and reading encoded values to and from a stream of bytes.