Gnus development mailing list
 help / color / mirror / Atom feed
* nail uses iso8859-1 instead of iso-8859-1
@ 2007-04-25 15:44 NAKAJI Hiroyuki
  2007-04-25 23:06 ` Katsumi Yamaoka
  2007-05-01 16:01 ` nail uses iso8859-1 instead of iso-8859-1 Reiner Steib
  0 siblings, 2 replies; 5+ messages in thread
From: NAKAJI Hiroyuki @ 2007-04-25 15:44 UTC (permalink / raw)
  To: ding

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-05-01 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 15:44 nail uses iso8859-1 instead of iso-8859-1 NAKAJI Hiroyuki
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

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).