Skip to main content

Module decoders

Module decoders 

Source
Expand description

Decoders the parser uses that are also useful on their own: charset conversion, HTML to text and text to HTML, and body previews. Transfer encodings (base64, quoted-printable, hex) are decoded by encodify; use it directly for those, or crate::Encoding::decode to decode a body as the parser does.

Modulesยง

charsets
Charset conversion to UTF-8.
html
HTML to text, text to HTML, and HTML charset declarations.
preview
Previews and truncation of text and HTML bodies.