diff options
| author | Lars Magne Ingebrigtsen | 2011-06-30 01:44:14 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-06-30 01:44:14 +0000 |
| commit | faf3b348f4bce8635eca47f2327f2283820c0865 (patch) | |
| tree | 518d0f081451b7ffc6ffcec2d7f865c229d88513 | |
| parent | 658d8eb8fceb1d5f0f7a71c4f7145dd43b78081b (diff) | |
| download | emacs-faf3b348f4bce8635eca47f2327f2283820c0865.tar.gz emacs-faf3b348f4bce8635eca47f2327f2283820c0865.zip | |
mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 variations as ASCII (bug#5458).
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/mm-util.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 33fd124b136..f33f5a38acf 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 | ||
| 4 | variations as ASCII (bug#5458). | ||
| 5 | |||
| 1 | 2011-06-30 Katsumi Yamaoka <yamaoka@jpl.org> | 6 | 2011-06-30 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 7 | ||
| 3 | * nnmh.el (nnmh-request-list-1): Work on MS Windows. | 8 | * nnmh.el (nnmh-request-list-1): Work on MS Windows. |
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index 435c3bba00f..08f23aaf282 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el | |||
| @@ -550,7 +550,8 @@ is not available." | |||
| 550 | (let ((cs (cdr (assq charset mm-charset-override-alist)))) | 550 | (let ((cs (cdr (assq charset mm-charset-override-alist)))) |
| 551 | (and cs (mm-coding-system-p cs) cs)))) | 551 | (and cs (mm-coding-system-p cs) cs)))) |
| 552 | ;; ascii | 552 | ;; ascii |
| 553 | ((eq charset 'us-ascii) | 553 | ((or (eq charset 'us-ascii) |
| 554 | (string-match "ansi.x3.4" (symbol-name charset))) | ||
| 554 | 'ascii) | 555 | 'ascii) |
| 555 | ;; Check to see whether we can handle this charset. (This depends | 556 | ;; Check to see whether we can handle this charset. (This depends |
| 556 | ;; on there being some coding system matching each `mime-charset' | 557 | ;; on there being some coding system matching each `mime-charset' |