Expand description

Routines for manipulating RFC2047 encoded words.

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

Structs

The result from decoding an encoded word.

Enums

Map character sets to their email properties.

These are parsing defects which the parser was able to work around.

Flags for types of header encodings

Functions

Decode encoded word and return (string, charset, lang, defects) tuple.

Encode string using the CTE encoding that produces the shorter result.