* [Fwd: UTF7 decode error in Gnus with IMAP]
@ 2005-12-05 2:35 Richard M. Stallman
2005-12-09 16:23 ` Simon Josefsson
0 siblings, 1 reply; 4+ messages in thread
From: Richard M. Stallman @ 2005-12-05 2:35 UTC (permalink / raw)
Would you please DTRT about this, then ack?
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@gnu.org
From: Kevin Rodgers <ihs_4664@yahoo.com>
Date: Tue, 29 Nov 2005 11:48:30 -0700
Lines: 104
Message-ID: <dmi7q0$oul$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------000504080803060007080000"
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: 207.167.42.60
User-Agent: Mozilla Thunderbird 0.9 (X11/20041105)
X-Accept-Language: en-us, en
Subject: [Fwd: UTF7 decode error in Gnus with IMAP]
X-BeenThere: bug-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GNU Emacs,
the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Sender: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org
Errors-To: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python
X-Spam-Level: **
X-Spam-Status: No, hits=2.4 required=5.0 tests=FORGED_YAHOO_RCVD,
FROM_ENDS_IN_NUMS,MAILTO_TO_SPAM_ADDR autolearn=no version=2.63
This is a multi-part message in MIME format.
--------------000504080803060007080000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
1. Is it safe to suggest to this user to (setq imap-use-utf7 nil)?
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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Fwd: UTF7 decode error in Gnus with IMAP]
2005-12-05 2:35 [Fwd: UTF7 decode error in Gnus with IMAP] Richard M. Stallman
@ 2005-12-09 16:23 ` Simon Josefsson
2005-12-13 21:46 ` Kevin Rodgers
0 siblings, 1 reply; 4+ messages in thread
From: Simon Josefsson @ 2005-12-09 16:23 UTC (permalink / raw)
Cc: ding
"Richard M. Stallman" <rms@gnu.org> writes:
> Would you please DTRT about this, then ack?
I believe no action is required, see below.
Kevin Rodgers <ihs_4664@yahoo.com> 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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Fwd: UTF7 decode error in Gnus with IMAP]
2005-12-09 16:23 ` Simon Josefsson
@ 2005-12-13 21:46 ` Kevin Rodgers
2005-12-14 14:18 ` Simon Josefsson
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Rodgers @ 2005-12-13 21:46 UTC (permalink / raw)
Cc: ding
Simon Josefsson <jas@extundo.com> wrote:
> "Richard M. Stallman" <rms@gnu.org> writes:
>
> > Would you please DTRT about this, then ack?
>
> I believe no action is required, see below.
>
> Kevin Rodgers <ihs_4664@yahoo.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Fwd: UTF7 decode error in Gnus with IMAP]
2005-12-13 21:46 ` Kevin Rodgers
@ 2005-12-14 14:18 ` Simon Josefsson
0 siblings, 0 replies; 4+ messages in thread
From: Simon Josefsson @ 2005-12-14 14:18 UTC (permalink / raw)
Cc: ding, rms
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> Simon Josefsson <jas@extundo.com> wrote:
>> "Richard M. Stallman" <rms@gnu.org> writes:
>>
>> > Would you please DTRT about this, then ack?
>>
>> I believe no action is required, see below.
>>
>> Kevin Rodgers <ihs_4664@yahoo.com> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-12-14 14:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-05 2:35 [Fwd: UTF7 decode error in Gnus with IMAP] Richard M. Stallman
2005-12-09 16:23 ` Simon Josefsson
2005-12-13 21:46 ` Kevin Rodgers
2005-12-14 14:18 ` Simon Josefsson
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).