Skip to main content


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


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

original: mixed
charset: string, optional
dotstuffing: boolean


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

Was this page helpful?