msys.qp.encode

March 26, 2020 Contributors

Name

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

Synopsis

msys.qp.encode(original[, charset, dotstuffing]);

original: mixed
charset: string, optional
dotstuffing: boolean

Description

original can be a string, msys.core:_ec_string, or msys.core:_io_object. Use charset to convert the text to a different character encoding before it is quoted-printable encoded. Use dotstuffing to specify whether or not the encoded text will be dot stuffed if qp encoding creates new line breaks. Encoded text is returned in a string.

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

See Also

msys.qp.decode