Encode a phrase according to RFC 2047 and return it as a string.
Formatting options.
Charset encoding or name.
Phrase to encode.
The encoded phrase.
options, charset, or phrase is invalid.
options
charset
phrase
Encode a phrase according to RFC 2047 and return it as a string.