Pike v8.0 release 1738

Method MIME.encode_words_text()


Method encode_words_text

string encode_words_text(array(string|array(string)) phrase, string encoding)

Description

The inverse of decode_words_text(), this function accepts an array of strings or pairs of strings which will each be encoded by encode_word(), after which they are all pasted together.

Parameter encoding

Either "base64" or "quoted-printable" (or either "b" or "q" for short).

See also

MIME.encode_words_text_remapped