Fix double-decode.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 2 Jun 2000 17:41:31 +0000 (17:41 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 2 Jun 2000 17:41:31 +0000 (17:41 +0000)
lisp/ChangeLog
lisp/gnus-art.el

index 0a12f1b..fb0fcd1 100644 (file)
@@ -1,3 +1,8 @@
+2000-06-03 13:36:46  Shenghuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-art.el (article-decode-charset): Override non-MIME forward
+       charset.
+
 2000-06-02 12:04:26  Shenghuo ZHU  <zsh@cs.rochester.edu>
 
        * mml.el (mml-quote-region): Correct the regexp.
index 883c7ca..88d2a22 100644 (file)
@@ -1475,6 +1475,10 @@ If PROMPT (the prefix), prompt for a coding system to use."
     (forward-line 1)
     (save-restriction
       (narrow-to-region (point) (point-max))
+      (if (and (eq mail-parse-charset 'gnus-decoded)
+              (eq (mm-body-7-or-8) '8bit))
+         ;; The text code could have been decoded.
+         (setq charset mail-parse-charset))
       (when (and (or (not ctl)
                     (equal (car ctl) "text/plain"))
                 (not format)) ;; article with format will decode later.