From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52630 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap compatibility issues (UTF-7, msg count, SEARCH vs. group Date: Tue, 13 May 2003 18:47:03 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1052850387 27525 80.91.224.249 (13 May 2003 18:26:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 13 May 2003 18:26:27 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M1174@lists.math.uh.edu Tue May 13 20:26:21 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19FePA-0006kV-00 for ; Tue, 13 May 2003 20:21:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19FeQg-0002is-00; Tue, 13 May 2003 13:23:10 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19FeQb-0002in-00 for ding@lists.math.uh.edu; Tue, 13 May 2003 13:23:05 -0500 Original-Received: (qmail 34494 invoked by alias); 13 May 2003 18:23:04 -0000 Original-Received: (qmail 34489 invoked from network); 13 May 2003 18:23:04 -0000 Original-Received: from albion.dl.ac.uk (148.79.80.39) by sclp3.sclp.com with SMTP; 13 May 2003 18:23:04 -0000 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.36 #1 (Debian)) id 19Fdrj-0005Xv-00; Tue, 13 May 2003 18:47:03 +0100 Original-To: Matthias Andree X-Draft-From: ("nntp+quimby.gnus.org:gnus.ding" 48432) In-Reply-To: (Matthias Andree's message of "Tue, 13 May 2003 02:24:21 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52630 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52630 Matthias Andree writes: > 1. UTF-7 decoding mangled > > Here's the IMAP excerpt: > > 1 CAPABILITY > * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ UIDPLUS X-NETSCAPE > 1 OK Completed > 2 LOGIN "hohohoimnottellingyou" "youdlovetoknow" > 2 OK User logged in > 3 LIST "" "*%" > * LIST (\Noinferiors ) "/" "Trash" > * LIST (\Noinferiors ) "/" "Unerw&APw-nscht" > ... > 3 OK Completed > > The "Unerw&APw-nscht" string is misdisplayed in the server buffer, it > prints as "Unerw.=FCnscht"; I'm not sure what that means and what exactly goes wrong. Where is it decoded from the utf-7? > UTF-7 decoding is on. However, it appears > correctly as "Unerw=C3=BCnscht" in other client software, namely Sylpheed > 0.8.11claws and Mozilla 1.3. Just in case: CVS 5.10.x Gnus, emacs 21.3. Did this work before I changed utf7.el recently to cope with more than Latin-1? If so, it's probably a coding conversion confusion, and perhaps the dot is a mangled \201 or similar. Previously the decoder returned a unibyte string, which doesn't make much sense. As far as I could tell, that just happened to work by automatic conversion (in a Latin-1 session). You could test it by commenting out `mm-enable-multibyte' in `utf7-decode'. I can't, I'm afraid.