Subject: Re: bug#5647: 23.1.92; MS950 Charset in Q/B headers

From: Katsumi Yamaoka <[email-masked]>
Date: Mon, 15 Mar 2010 10:43:57 +0900

>>>>> Katsumi Yamaoka wrote:
>>>>>> 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').

I've installed it in Emacs trunk (i.e. Emacs 24) and Gnus trunk.
This thread should be closed.

P.S. Gnus trunk has been tagged with `emacs_23_2_RC' before sync'ing
with Emacs 24.