1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4 variations as ASCII (bug#5458).

This commit is contained in:
Lars Magne Ingebrigtsen 2011-06-30 01:44:14 +00:00 committed by Katsumi Yamaoka
parent 658d8eb8fc
commit faf3b348f4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
* mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4
variations as ASCII (bug#5458).
2011-06-30 Katsumi Yamaoka <yamaoka@jpl.org>
* nnmh.el (nnmh-request-list-1): Work on MS Windows.

View File

@ -550,7 +550,8 @@ is not available."
(let ((cs (cdr (assq charset mm-charset-override-alist))))
(and cs (mm-coding-system-p cs) cs))))
;; ascii
((eq charset 'us-ascii)
((or (eq charset 'us-ascii)
(string-match "ansi.x3.4" (symbol-name charset)))
'ascii)
;; Check to see whether we can handle this charset. (This depends
;; on there being some coding system matching each `mime-charset'