Crate encoded_words

Source
Expand description

Routines for manipulating RFC2047 encoded words.

An ecoded word looks like this: =?charset[*lang]?cte?encoded_string?=.

Structs§

DecodingResult
The result from decoding an encoded word.

Enums§

Charset
Map character sets to their email properties.
DecodingError
Defect
These are parsing defects which the parser was able to work around.
Encoding
EncodingFlag
Flags for types of header encodings

Functions§

decode
Decode encoded word and return (string, charset, lang, defects) tuple.
encode
Encode string using the CTE encoding that produces the shorter result.