msys.qp.encode

March 26, 2020 Contributors

Name

msys.qp.encode — Quoted-printable encode a string

Synopsis

msys.qp.encode(original, charset);

original: mixed
charset: string, optional

Description

original can be a string or a msys.core:_ec_string. By default, the character encoding for all text is UTF-8. If you would like to convert the text to a different character encoding before it is quoted-printable encoded, then specify a charset.

Enable this function with the statement require('msys.qp');.

See Also

msys.qp.decode