From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60682 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Invalid coding system: unicode-1-1-utf-7 Date: Thu, 04 Aug 2005 11:42:21 +0900 Organization: Emacsen advocacy group Message-ID: References: <9eek9bqq1j.fsf@gowron.rz-berlin.mpg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1123123407 19598 80.91.229.2 (4 Aug 2005 02:43:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Aug 2005 02:43:27 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M9212=ding+2Daccount=gmane.org@lists.math.uh.edu Thu Aug 04 04:43:23 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E0Vgy-0004ka-Hc for ding-account@gmane.org; Thu, 04 Aug 2005 04:42:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1E0Vgx-0007pe-02 for ding-account@gmane.org; Wed, 03 Aug 2005 21:42:43 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1E0Vgp-0007pV-00 for ding@lists.math.uh.edu; Wed, 03 Aug 2005 21:42:35 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1E0Vgn-0005jv-Bh for ding@lists.math.uh.edu; Wed, 03 Aug 2005 21:42:33 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1E0Uki-0004ci-00 for ; Thu, 04 Aug 2005 03:42:32 +0200 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.50) id 1E0Vgy-0005nW-TR; Wed, 03 Aug 2005 21:42:45 -0500 Original-To: Jochen =?iso-8859-1?Q?K=FCpper?= X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:XK87hYNJV8mHquL3uA44Q8oOmrg= X-Hashcash: 1:20:050804:jochen@fhi-berlin.mpg.de::ga+/pkRNkKIjUvdO:00000000000000000000000000000000000001Jnd X-Hashcash: 1:20:050804:ding@gnus.org::MAWUu+8LAmIpV4AA:0000DvW0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60682 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60682 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable >>>>> In <9eek9bqq1j.fsf@gowron.rz-berlin.mpg.de> Jochen K=FCpper wrote: > In my .gnus I have=20 > ,---- >| (add-to-list 'mm-charset-synonym-alist (if (and (not (mm-coding-system-p= 'unicode-1-1-utf-7)) >| (mm-coding-system-p 'utf= -7)) >| '(unicode-1-1-utf-7 . utf-7))) > `---- I loaded utf-7.el and tried it. > However, when sending (S o m) messages with the unicode-1-1-utf-7 > coding system, Gnus gives the following error (and stops): > ,---- >| mm-encode-body: Invalid coding system: unicode-1-1-utf-7 > `---- Though I couldn't find the way to reproduce it using `S o m', it seems to be the same to encode the part like the following: <# part type=3D"text/plain" charset=3Dunicode-1-1-utf-7 disposition=3Dinlin= e> jugemujugemugokonosurikirekaijarisuigyonosuigyomatsuungyomatsu... Gnus still confuses `charset' with `coding system' in several places I think, and the problem is caused by one of them. Does the following patch help? --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- mm-bodies.el~ 2005-07-05 22:36:09 +0000 +++ mm-bodies.el 2005-08-04 02:39:45 +0000 @@ -93,6 +93,7 @@ (save-excursion (if charset (progn + (setq charset (mm-charset-to-coding-system charset)) (mm-encode-coding-region (point-min) (point-max) charset) charset) (goto-char (point-min)) --=-=-=--