From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64414 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: charset ANSI_x3.4-1968, et al Date: Mon, 19 Mar 2007 09:43:33 +0100 Message-ID: <87lkhtwrm2.fsf@mocca.josefsson.org> References: <87tzwiwcmo.fsf@mocca.josefsson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174293888 7871 80.91.229.12 (19 Mar 2007 08:44:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2007 08:44:48 +0000 (UTC) Cc: ding@gnus.org To: Karl Chen Original-X-From: ding-owner+M12938@lists.math.uh.edu Mon Mar 19 09:44:39 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 1HTDTp-0002Rt-UX for ding-account@gmane.org; Mon, 19 Mar 2007 09:44:38 +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 1HTDT1-0002Ae-G5; Mon, 19 Mar 2007 03:43:47 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HTDSz-0002AC-8N for ding@lists.math.uh.edu; Mon, 19 Mar 2007 03:43:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HTDSt-0002p9-6J for ding@lists.math.uh.edu; Mon, 19 Mar 2007 03:43:45 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HTDSq-0004rE-00 for ; Mon, 19 Mar 2007 09:43:36 +0100 Original-Received: from mocca.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l2J8hXNA023772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Mar 2007 09:43:33 +0100 OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Mail-Copies-To: nobody X-Hashcash: 1:22:070319:ding@gnus.org::WlxJsbS5d5Ierxkz:BuUv X-Hashcash: 1:22:070319:quarl@cs.berkeley.edu::MY00fGBodM29eKYr:GEyR In-Reply-To: (Karl Chen's message of "Sun\, 18 Mar 2007 17\:02\:51 -0700") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on yxa-iv X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.2 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64414 Archived-At: Karl Chen writes: > Reiner> If adding such a list it useful, I'd suggest to add it > Reiner> in variable, say `mm-charset-ascii-synonym-list'... > > Good point; I only sent a single list, but if you wanted to go all > the way you could do a whole alist of synonym lists, per the IANA > list. I don't think that is a good idea -- let's add "bugfix" aliases on a need-to-have basis judging from bug reports. > If it's true that these aliases aren't officially required to be > accepted in MIME then it would also be okay to just have the few > most popular US-ASCII aliases, e.g. ANSI_x3.4-1968 and > ANSI_x3.4-1986. Yup. I looked at a cleaner way to solve this. Can you test the patch below? /Simon --- mm-util.el 24 Jan 2007 11:48:30 +0100 7.62 +++ mm-util.el 19 Mar 2007 09:42:14 +0100 @@ -347,7 +347,8 @@ (defcustom mm-charset-override-alist '((iso-8859-1 . windows-1252) (iso-8859-8 . windows-1255) - (iso-8859-9 . windows-1254)) + (iso-8859-9 . windows-1254) + (ansi_x3.4-1968 . us-ascii)) "A mapping from undesired charset names to their replacement. You may add pairs like (iso-8859-1 . windows-1252) here, @@ -357,6 +358,7 @@ (const (iso-8859-1 . windows-1252)) (const (iso-8859-8 . windows-1255)) (const (iso-8859-9 . windows-1254)) + (const (ansi_x3.4-1968 . us-ascii)) (const (undecided . windows-1252))) (repeat :inline t :tag "Other options"