From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Fwd: UTF7 decode error in Gnus with IMAP Date: Wed, 14 Dec 2005 08:39:31 -0800 (PST) Message-ID: <20051214163931.42446.qmail@web51006.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1706182417-1134578371=:42219" Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1134592672 2979 80.91.229.2 (14 Dec 2005 20:37:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2005 20:37:52 +0000 (UTC) Cc: bgm-rao@ieee.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 14 21:37:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmdMq-0008Uf-Bt for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Dec 2005 21:36:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmdNS-0006BO-2U for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Dec 2005 15:37:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EmZtD-0006GU-NG for help-gnu-emacs@gnu.org; Wed, 14 Dec 2005 11:54:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EmZtB-0006FJ-25 for help-gnu-emacs@gnu.org; Wed, 14 Dec 2005 11:54:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmZhJ-0003HS-B8 for help-gnu-emacs@gnu.org; Wed, 14 Dec 2005 11:41:50 -0500 Original-Received: from [206.190.38.137] (helo=web51006.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1EmZjP-0003Ll-3w for help-gnu-emacs@gnu.org; Wed, 14 Dec 2005 11:43:55 -0500 Original-Received: (qmail 42448 invoked by uid 60001); 14 Dec 2005 16:39:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VawfwBdrtLfwt3Dd3ekz0cJxtoVgl9yF0Qmn40FpA7Av/GOi9Lcf0XbUShNjNsYzj2+syvkmDQ2UhxvzxmarM0Xr5K6fZzxF/E5ta59M7tab8vNgYUZP+hrdfbYO57iDoyKDwwKeMLE+LKw7KbYg7Bcz/LWynRxB3VUhrcVaVU0= ; Original-Received: from [207.167.42.60] by web51006.mail.yahoo.com via HTTP; Wed, 14 Dec 2005 08:39:31 PST Original-To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Wed, 14 Dec 2005 13:14:51 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:31936 Archived-At: --0-1706182417-1134578371=:42219 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-1706182417-1134578371=:42219 Content-Type: message/rfc822 X-Apparently-To: ihs_4664@yahoo.com via 206.190.39.79; Wed, 14 Dec 2005 06:24:03 -0800 X-Originating-IP: [217.13.230.178] Authentication-Results: mta201.mail.dcn.yahoo.com from=extundo.com; domainkeys=neutral (no sig) Received: from 217.13.230.178 (EHLO yxa.extundo.com) (217.13.230.178) by mta201.mail.dcn.yahoo.com with SMTP; Wed, 14 Dec 2005 06:24:03 -0800 Received: from latte.josefsson.org (jas@yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3) with ESMTP id jBEEISDI023973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 14 Dec 2005 15:18:29 +0100 From: Simon Josefsson To: Kevin Rodgers Cc: ding@gnus.org, rms@gnu.org Subject: Re: [Fwd: UTF7 decode error in Gnus with IMAP] References: <20051213214638.60092.qmail@web51007.mail.yahoo.com> OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:051214:rms@gnu.org::m+hfeRnDxfrQ8Yti:y6u X-Hashcash: 1:21:051214:ding@gnus.org::3YW1UWx5JoPrNLCF:3UIg X-Hashcash: 1:21:051214:ihs_4664@yahoo.com::unkHOEmIWi3dH+sL:AEF1 Date: Wed, 14 Dec 2005 15:18:21 +0100 In-Reply-To: <20051213214638.60092.qmail@web51007.mail.yahoo.com> (Kevin Rodgers's message of "Tue, 13 Dec 2005 13:46:38 -0800 (PST)") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on yxa-iv X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on yxa.extundo.com X-Virus-Status: Clean Content-Length: 974 Kevin Rodgers writes: > 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 I see. It is just a warning, right? The problem is in the server, it send an invalid UTF-7 string. Gnus is supposed to ignore the group name, print that warning and continue, I'm not sure it can do more. --0-1706182417-1134578371=:42219 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --0-1706182417-1134578371=:42219--