Expand description

Support for working with different codepages / encodings.

Structs

  • This unit struct can be used as an Encoding to try to decode characters as ASCII, and returning an error if non-ascii codepoints are encountered.
  • This unit struct can be used as an Encoding to try to decode a string as Unicode, and returning an error if unknown codepoints are encountered.
  • This unit struct can be used as an Encoding to try to decode characters as Unicode, falling back to the replacement character for unknown codepoints.

Traits