Gnus development mailing list
 help / color / mirror / Atom feed
From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To: ding@gnus.org
Subject: nail uses iso8859-1 instead of iso-8859-1
Date: Thu, 26 Apr 2007 00:44:41 +0900	[thread overview]
Message-ID: <86abwwtq52.fsf@ra333.heimat.gr.jp> (raw)

I found some emails are using charset ISO8859-1 which is as same as
iso-8859-1. For example, nail uses ISO8859-1.

Content-Type: text/plain; charset=ISO8859-1
User-Agent: nail 11.22 3/20/05

How about adding ISO8859-1 in mm-charset-synonym-alist?

--- mm-util.el	02 Mar 2007 22:32:29 +0900	7.62
+++ mm-util.el	26 Apr 2007 00:37:27 +0900	
@@ -229,6 +229,10 @@
     ,@(when (and (not (mm-coding-system-p 'windows-31j))
 		 (mm-coding-system-p 'cp932))
 	'((windows-31j . cp932)))
+    ;; ISO8859-1 is ISO-8859-1
+    ,@(when (and (not (mm-coding-system-p 'iso8859-1))
+		 (mm-coding-system-p 'iso-8859-1))
+	'((iso8859-1 . iso-8859-1)))
     )
   "A mapping from unknown or invalid charset names to the real charset names.
 

-- 
NAKAJI Hiroyuki



             reply	other threads:[~2007-04-25 15:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 15:44 NAKAJI Hiroyuki [this message]
2007-04-25 23:06 ` Katsumi Yamaoka
2007-04-26 19:44   ` customizing mm-charset-synonym-alist (was: nail uses iso8859-1 instead of iso-8859-1) Reiner Steib
2007-04-26 22:42     ` customizing mm-charset-synonym-alist Katsumi Yamaoka
2007-05-01 16:01 ` nail uses iso8859-1 instead of iso-8859-1 Reiner Steib

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=86abwwtq52.fsf@ra333.heimat.gr.jp \
    --to=nakaji@jp.freebsd.org \
    --cc=ding@gnus.org \
    /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).