Function: quoted-printable-decode-string

quoted-printable-decode-string is an autoloaded and byte-compiled function defined in qp.el.gz.

Signature

(quoted-printable-decode-string STRING &optional CODING-SYSTEM)

Documentation

Decode the quoted-printable encoded STRING and return the result.

If CODING-SYSTEM is non-nil, decode the string with coding-system. Use of CODING-SYSTEM is deprecated; this function should deal with raw bytes, and coding conversion should be done separately.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/qp.el.gz
(defun quoted-printable-decode-string (string &optional coding-system)
  "Decode the quoted-printable encoded STRING and return the result.
If CODING-SYSTEM is non-nil, decode the string with coding-system.
Use of CODING-SYSTEM is deprecated; this function should deal with
raw bytes, and coding conversion should be done separately."
  (with-temp-buffer
    (set-buffer-multibyte nil)
    (insert string)
    (quoted-printable-decode-region (point-min) (point-max) coding-system)
    (buffer-string)))