From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61526 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.gnus.general Subject: Re: [Fwd: UTF7 decode error in Gnus with IMAP] Date: Tue, 13 Dec 2005 13:46:38 -0800 (PST) Message-ID: <20051213214638.60092.qmail@web51007.mail.yahoo.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1134519405 1813 80.91.229.2 (14 Dec 2005 00:16:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2005 00:16:45 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m10058@lists.math.uh.edu Wed Dec 14 01:16:42 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmKJL-0003Vf-2E for ding-account@gmane.org; Wed, 14 Dec 2005 01:15:59 +0100 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 1EmKJD-0003my-00; Tue, 13 Dec 2005 18:15:51 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EmHyy-0003Xk-00 for ding@lists.math.uh.edu; Tue, 13 Dec 2005 15:46:48 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EmHyq-0003z1-Nk for ding@lists.math.uh.edu; Tue, 13 Dec 2005 15:46:48 -0600 Original-Received: from web51007.mail.yahoo.com ([206.190.38.138]) by quimby.gnus.org with smtp (Exim 3.35 #1 (Debian)) id 1EmHyp-0001Sy-00 for ; Tue, 13 Dec 2005 22:46:39 +0100 Original-Received: (qmail 60094 invoked by uid 60001); 13 Dec 2005 21:46:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ozaadcvbmF7a/rruucbnbcx6qnEVN0+9qTs5m1yqPiW2F2msKZFgzKMtg0BiAZbVBHUEzXY1gwFC/EN8WuDzGhtWcqYL90DNv2ZfAL8Ai5/q/POoQ25L6HptGHYjdovuLBgUC4KauNEWk9nLxA9ti58wVo0B6cffvdQQkn0zj8E= ; Original-Received: from [207.167.42.60] by web51007.mail.yahoo.com via HTTP; Tue, 13 Dec 2005 13:46:38 PST Original-To: Simon Josefsson , rms@gnu.org In-Reply-To: X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61526 Archived-At: Simon Josefsson wrote: > "Richard M. Stallman" writes: > > > Would you please DTRT about this, then ack? > > I believe no action is required, see below. > > Kevin Rodgers writes: > > > 1. Is it safe to suggest to this user to (setq imap-use-utf7 nil)? > > I believe it is safe, if used consistently. If you toggle the > variable, existing groups will rename themselves. Of course, you'll > loose non-ascii features. > > > 2. Should imap-utf7-decode work on this string with non-nil imap-use-utf7? > > It contains only ASCII characters, but the "&" triggers the error: > > > > signal(error ("Unable to convert from Unicode")) > > error("Unable to convert from Unicode") > > utf7-u16-latin1-char-converter() > > utf7-fragment-decode(207 210 t) > > utf7-decode-internal(t) > > utf7-decode("Public Folders/Business Units/SC WW Sales and > > Marketing/Reporting/Commissions/2005 Commissions/2005 Adjustments/*2005 > > Closed Adjustments/*closed*7.1.05 through 7.31.05/*closed*EPIC Tut > > Systems Videotele &IBM- TMS320C6415TGLZ1" t) > > That isn't valid UTF-7 a'la IMAP, so I think the error is correct. > Imap.el call utf7-decode in a condition-case, so in practice you > shouldn't see the error. > > How does this cause any real problem? The original problem is described here: http://lists.gnu.org/archive/html/help-gnu-emacs/2005-11/msg00727.html __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com