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

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

See the following links for reference:

Link to this section Summary

Functions

Decodes a quoted-printable encoded string.

Encodes a string into a quoted-printable encoded string.

Link to this section 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, acc \\ [], line_length \\ 0)

View Source

Specs

encode(binary(), list(), non_neg_integer()) :: binary()

Encodes a string into a quoted-printable encoded string.

Examples

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