Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <simon@josefsson.org>
To: Karl Chen <quarl@cs.berkeley.edu>
Cc: ding@gnus.org
Subject: Re: charset ANSI_x3.4-1968, et al
Date: Mon, 19 Mar 2007 09:43:33 +0100	[thread overview]
Message-ID: <87lkhtwrm2.fsf@mocca.josefsson.org> (raw)
In-Reply-To: <quack.20070318T1702.lthtzwiyuac@roar.cs.berkeley.edu> (Karl Chen's message of "Sun\, 18 Mar 2007 17\:02\:51 -0700")

Karl Chen <quarl@cs.berkeley.edu> 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"



  reply	other threads:[~2007-03-19  8:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-18  1:41 Karl Chen
2007-03-18 19:54 ` Simon Josefsson
2007-03-18 22:54   ` Reiner Steib
2007-03-19  0:02     ` Karl Chen
2007-03-19  8:43       ` Simon Josefsson [this message]
2007-03-20  7:50         ` Karl Chen
2007-03-20  8:35           ` Simon Josefsson
2007-03-21  4:06             ` Karl Chen
2007-03-18 23:57   ` Karl Chen
2007-03-19  8:45     ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lkhtwrm2.fsf@mocca.josefsson.org \
    --to=simon@josefsson.org \
    --cc=ding@gnus.org \
    --cc=quarl@cs.berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).