Expand description
Support for working with different codepages / encodings.
Structs§
- Ascii
- 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. - Lossy
Code Page - Unicode
- 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. - Unicode
Lossy - 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§
- AsCode
Page Mark - Encoding
- Trait for reading strings from the database files.
- Encoding
Clone - Trait to be able to clone a
Box<dyn Encoding>