Skip to main content

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

Was this page helpful?