* mm-bodies.el (mm-body-encoding): Intern encoding if needed
(compare mm-charset-to-coding-system).
+2001-11-24 Simon Josefsson <jas@extundo.com>
+
+ * mm-bodies.el (mm-body-encoding): Intern encoding if needed
+ (compare mm-charset-to-coding-system).
+
2001-11-23 02:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
* canlock.el (canlock-sha1-with-openssl): Use unibyte
(defun mm-body-encoding (charset &optional encoding)
"Do Content-Transfer-Encoding and return the encoding of the current buffer."
+ (when (stringp encoding)
+ (setq encoding (intern (downcase encoding))))
(let ((bits (mm-body-7-or-8))
(longp (mm-long-lines-p 1000)))
(require 'message)