From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64408 Path: news.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.gnus.general Subject: charset ANSI_x3.4-1968, et al Date: Sat, 17 Mar 2007 18:41:14 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174242445 7615 80.91.229.12 (18 Mar 2007 18:27:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Mar 2007 18:27:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M12932@lists.math.uh.edu Sun Mar 18 19:27:16 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HT068-0007Oh-78 for ding-account@gmane.org; Sun, 18 Mar 2007 19:27:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HT04Y-0006cG-KK; Sun, 18 Mar 2007 13:25:38 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HSkSO-0003tk-CO for ding@lists.math.uh.edu; Sat, 17 Mar 2007 20:45:12 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HSkSI-0002Bd-7H for ding@lists.math.uh.edu; Sat, 17 Mar 2007 20:45:12 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HSkSG-0001Vf-00 for ; Sun, 18 Mar 2007 02:45:04 +0100 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HSkSE-0006KH-BP for ding@gnus.org; Sun, 18 Mar 2007 02:45:02 +0100 Original-Received: from roar.cs.berkeley.edu ([128.32.35.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Mar 2007 02:45:02 +0100 Original-Received: from quarl by roar.cs.berkeley.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Mar 2007 02:45:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: roar.cs.berkeley.edu X-Quack-Archive: 1 User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (gnu/linux) Cancel-Lock: sha1:KdDGYNdL7L2rZ3u8acipVK3UbdY= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64408 Archived-At: Dear Gnus developers, I've been starting to receive a lot of emails from cron [1] with this header: Content-Type: text/plain; charset=ANSI_X3.4-1968 I get the message: Unknown charset: ANSI_X3.4-1968 According to RFC 1345, "ANSI_X3.4-1968", along with other names, are aliases for US-ASCII, and actually, "ANSI_X3.4-1968" is the official name (though according to http://www.iana.org/assignments/character-sets, "US-ASCII" is the preferred MIME name). Could you consider something such as the patch below, which works for me: --- mm-util.el 17 Mar 2007 18:08:14 -0700 7.62 +++ mm-util.el 17 Mar 2007 18:27:45 -0700 @@ -641,8 +641,9 @@ ((and allow-override (let ((cs (cdr (assq charset mm-charset-override-alist)))) (and cs (mm-coding-system-p cs) cs)))) - ;; ascii - ((eq charset 'us-ascii) + ;; ascii (see RFC 1345) + (memq charset '(us-ascii ansi_x3.4-1968 ansi_x3.4-1986 iso-ir-6 iso646-us + iso_646.irv:1991 us ibm367 cp367 csascii)) 'ascii) ;; Check to see whether we can handle this charset. (This depends ;; on there being some coding system matching each `mime-charset' Regards, Karl [1] This is now happening on multiple systems (which are all Debian). cron appears to be using the default locale name. On Linux, you can get the string ANSI_x3.4-1968 if you run "LC_CTYPE=C locale charmap".