Copyright (C) 2000-2012 |
GNU Info (emacs-mime)qpqp == 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. It is defined in RFC 2045. The following functions are defined by the library: - Command: quoted-printable-decode-region FROM TO &optional CODING-SYSTEM QP-decode all the encoded text in the region. If CODING-SYSTEM is non-nil, decode bytes into characters with that coding-system. It is probably better not to use CODING-SYSTEM; instead decode into a unibyte buffer, decode that appropriately and then interpret it as multibyte. - Function: quoted-printable-decode-string STRING &optional CODING-SYSTEM Return a QP-encoded copy of STRING. If CODING-SYSTEM is non-nil, decode bytes into characters with that coding-system. - Command: quoted-printable-encode-region FROM TO &optional FOLD CLASS QP-encode all the region. If FOLD is non-NIL, fold lines at 76 characters, as required by the RFC. If CLASS is non-`nil', translate the characters not matched by that regexp class, which should be in the form expected by SKIP-CHARS-FORWARD and should probably not contain literal eight-bit characters. Specifying CLASS makes sense to do extra encoding in header fields. If variable MM-USE-ULTRA-SAFE-ENCODING is defined and non-`nil', fold lines unconditionally and encode `From ' and `-' at the start of lines.. - Function: quoted-printable-encode-string string Return a QP-encoded copy of STRING. automatically generated by info2www version 1.2.2.9 |