GNU bug report logs - #5647
23.1.92; MS950 Charset in Q/B headers

Previous Next

Packages: emacs, gnus;

Reported by: jidanni <at> jidanni.org

Date: Thu, 25 Feb 2010 08:58:02 UTC

Severity: normal

Merged with 5387, 5681

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: 5647 <at> debbugs.gnu.org
Cc: jidanni <at> jidanni.org, ding <at> gnus.org, Kenichi Handa <handa <at> m17n.org>
Subject: bug#5647: 23.1.92; MS950 Charset in Q/B headers
Date: Mon, 08 Mar 2010 13:11:50 +0900
>>>>> Kenichi Handa wrote:
> It seems that Gnus is not yet using coding-system-from-name.

This will probably work.

--- mm-util.el~	2010-01-13 09:41:40 +0000
+++ mm-util.el	2010-03-08 04:10:44 +0000
@@ -566,6 +566,9 @@
 ;;; 	 (eq charset (coding-system-get charset 'mime-charset))
 	 )
     charset)
+   ;; Use coding system Emacs knows.
+   ((and (fboundp 'coding-system-from-name)
+	 (coding-system-from-name charset)))
    ;; Eval expressions from `mm-charset-eval-alist'
    ((let* ((el (assq charset mm-charset-eval-alist))
 	   (cs (car el))

But I'm not sure it is a bugfix since there're some ways for a user
to tell Gnus that ms950 is cp950 (e.g. `mm-charset-synonym-alist').




This bug report was last modified 15 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.