View Source Mail.Encoders.QuotedPrintable (mail v0.4.0)

Encodes/decodes quoted-printable strings according to RFC 2045.

See the following links for reference:

Summary

Functions

Decodes a quoted-printable encoded string.

Encodes a string into a quoted-printable encoded string.

Functions

Link to this function

decode(string, acc \\ [])

View Source

Decodes a quoted-printable encoded string.

Examples

Mail.QuotedPrintable.decode("fa=C3=A7ade")
"façade"
Link to this function

encode(string, max_length \\ 76, acc \\ <<>>, line_length \\ 0)

View Source
@spec encode(binary(), integer(), list(), non_neg_integer()) :: binary()

Encodes a string into a quoted-printable encoded string.

Examples

Mail.Encoders.QuotedPrintable.encode("façade")
"fa=C3=A7ade"