[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5647: 23.1.92; MS950 Charset in Q/B headers
From: |
Katsumi Yamaoka |
Subject: |
bug#5647: 23.1.92; MS950 Charset in Q/B headers |
Date: |
Mon, 08 Mar 2010 13:11:50 +0900 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.93 (gnu/linux) |
>>>>> 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').