Skip to contents

Encode to and decode from Quoted-Printable encoding.

Usage

qp_encode(x, crlf = CRLF)

qp_decode(x)

Arguments

x

A string for encoding or decoding.

crlf

End-of-line characters.

Value

An encoded string for qp_encode() or a decoded string for qp_decode().

Examples

qp_encode("Mieux vaut être seul que mal accompagné.")
#> [1] "Mieux vaut =C3=AAtre seul que mal accompagn=C3=A9."
qp_decode("Mieux vaut =C3=AAtre seul que mal accompagn=C3=A9.")
#> [1] "Mieux vaut être seul que mal accompagné."