(item :tag "skip" nil)
(face :value default)))))
+(defcustom gnus-article-decode-hook
+ '(gnus-article-decode-charset gnus-article-decode-rfc1522)
+ "*Hook run to decode charsets in articles.")
+
;;; Internal variables
(defvar article-lapsed-timer nil)
(defun article-treat-dumbquotes ()
"Translate M******** sm*rtq**t*s into proper text."
(interactive)
- (article-translate-characters "\221\222\223\223" "`'\"\""))
+ (article-translate-characters "\221\222\223\224" "`'\"\""))
(defun article-translate-characters (from to)
"Translate all characters in the body of the article according to FROM and TO.
(insert-buffer-substring gnus-article-buffer))
(setq gnus-original-article (cons group article))))
+ ;; Decode charsets.
+ (run-hooks 'gnus-article-decode-hook)
+
;; Update sparse articles.
(when (and do-update-line
(or (numberp article)