Gnus development mailing list
 help / color / mirror / Atom feed
* 23.1.92; MS950 Charset in Q/B headers
@ 2010-02-25  8:46 jidanni
  2010-03-08  1:11 ` bug#5647: " Kenichi Handa
  0 siblings, 1 reply; 4+ messages in thread
From: jidanni @ 2010-02-25  8:46 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: handa, ding

Sorry, these still don't work
$ grep -i ms950 mbox
Subject: =?MS950?B?tfmlVaaopVyzcaq+?=
Subject: =?MS950?Q?=B5=F9=A5U=A6=A8=A5\=B3q=AA=BE(TCB_Portal_Regi?=
 =?MS950?Q?stration_Notification)?=
One needs to do
$ sed -n s/ms950/big5/gip mbox > newmbox
Subject: =?big5?B?tfmlVaaopVyzcaq+?=
Subject: =?big5?Q?=B5=F9=A5U=A6=A8=A5\=B3q=AA=BE(TCB_Portal_Regi?=
 =?big5?Q?stration_Notification)?=
to see them correctly in mutt or gnus in emacs-snapshot 1:20100224-1 .



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

* bug#5647: 23.1.92; MS950 Charset in Q/B headers
  2010-02-25  8:46 23.1.92; MS950 Charset in Q/B headers jidanni
@ 2010-03-08  1:11 ` Kenichi Handa
  2010-03-08  4:11   ` Katsumi Yamaoka
  0 siblings, 1 reply; 4+ messages in thread
From: Kenichi Handa @ 2010-03-08  1:11 UTC (permalink / raw)
  To: jidanni; +Cc: 5647, ding

In article <87fx4pn1n7.fsf@jidanni.org>, jidanni@jidanni.org writes:

> Sorry, these still don't work
> $ grep -i ms950 mbox
> Subject: =?MS950?B?tfmlVaaopVyzcaq+?=
> Subject: =?MS950?Q?=B5=F9=A5U=A6=A8=A5\=B3q=AA=BE(TCB_Portal_Regi?=
>  =?MS950?Q?stration_Notification)?=
> One needs to do
> $ sed -n s/ms950/big5/gip mbox > newmbox
> Subject: =?big5?B?tfmlVaaopVyzcaq+?=
> Subject: =?big5?Q?=B5=F9=A5U=A6=A8=A5\=B3q=AA=BE(TCB_Portal_Regi?=
>  =?big5?Q?stration_Notification)?=
> to see them correctly in mutt or gnus in emacs-snapshot 1:20100224-1 .

In the thread of bug#5387, I wrote this:
K> I've just installed the attached change to accept msXXX.
K> canonicalize-coding-system-name is used by
K> coding-system-from-name, and, at least, rmail uses it.

and you wrote:
> I'll CC the gnus people to make sure they will use it too.

It seems that Gnus is not yet using coding-system-from-name.

---
Kenichi Handa
handa@m17n.org






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

* Re: bug#5647: 23.1.92; MS950 Charset in Q/B headers
  2010-03-08  1:11 ` bug#5647: " Kenichi Handa
@ 2010-03-08  4:11   ` Katsumi Yamaoka
  2010-03-15  1:43     ` Katsumi Yamaoka
  0 siblings, 1 reply; 4+ messages in thread
From: Katsumi Yamaoka @ 2010-03-08  4:11 UTC (permalink / raw)
  To: 5647; +Cc: Kenichi Handa, jidanni, ding

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



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

* Re: bug#5647: 23.1.92; MS950 Charset in Q/B headers
  2010-03-08  4:11   ` Katsumi Yamaoka
@ 2010-03-15  1:43     ` Katsumi Yamaoka
  0 siblings, 0 replies; 4+ messages in thread
From: Katsumi Yamaoka @ 2010-03-15  1:43 UTC (permalink / raw)
  To: 5647; +Cc: Kenichi Handa, jidanni, ding

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



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

end of thread, other threads:[~2010-03-15  1:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-25  8:46 23.1.92; MS950 Charset in Q/B headers jidanni
2010-03-08  1:11 ` bug#5647: " Kenichi Handa
2010-03-08  4:11   ` Katsumi Yamaoka
2010-03-15  1:43     ` Katsumi Yamaoka

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