[gnus git] branch master updated: n0-17-105-ge19c1ce =1= (mm-charset-to-coding-system): Recognise all ansi_x3.4 variations as ASCII (bug#5458).

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  e19c1ce755bfd7bbbc5c225e09ac8af79cb67848 (commit)
      from  18d98eb4206c6017e81c05b12874aeb2f9858aef (commit)


- Log -----------------------------------------------------------------
commit e19c1ce755bfd7bbbc5c225e09ac8af79cb67848
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Thu Jun 30 03:36:45 2011 +0200

    (mm-charset-to-coding-system): Recognise all ansi_x3.4 variations as ASCII (bug#5458).

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a6d59a0..a76d241 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-30  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* mm-util.el (mm-charset-to-coding-system): Recognise all ANSI.x3.4
+	variations as ASCII (bug#5458).
+
 2011-06-30  Katsumi Yamaoka  <[email protected]>
 
 	* nnmh.el (nnmh-request-list-1): Work on MS Windows.
diff --git a/lisp/mm-util.el b/lisp/mm-util.el
index 435c3bb..08f23aa 100644
--- a/lisp/mm-util.el
+++ b/lisp/mm-util.el
@@ -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'

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog  |    5 +++++
 lisp/mm-util.el |    3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.