Next: base64, Previous: time-date, Up: Basic Functions [Contents][Index]

### 4.6 qp

This library deals with decoding and encoding Quoted-Printable text.

Very briefly explained, qp encoding means translating all 8-bit characters (and lots of control characters) into things that look like ‘`=EF`’; that is, an equal sign followed by the byte encoded as a hex string.

The following functions are defined by the library:

`quoted-printable-decode-region`

  QP-decode all the encoded text in the specified region.

`quoted-printable-decode-string`

  Decode the QP-encoded text in a string and return the results.

`quoted-printable-encode-region`

  QP-encode all the encodable characters in the specified region. The third optional parameter fold specifies whether to fold long lines. (Long here means 72.)

`quoted-printable-encode-string`

  QP-encode all the encodable characters in a string and return the results.