From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52808 Path: main.gmane.org!not-for-mail From: Matthias Andree Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap compatibility issues (UTF-7, msg count, SEARCH vs. group Date: Fri, 23 May 2003 19:59:39 +0200 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 1053713115 11557 80.91.224.249 (23 May 2003 18:05:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 May 2003 18:05:15 +0000 (UTC) Cc: Matthias Andree , ding@gnus.org Original-X-From: ding-owner+M1352@lists.math.uh.edu Fri May 23 20:05:13 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 19JGnp-0001nm-00 for ; Fri, 23 May 2003 19:58:01 +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 19JGpd-0000wE-00; Fri, 23 May 2003 12:59:53 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19JGpX-0000w4-00 for ding@lists.math.uh.edu; Fri, 23 May 2003 12:59:47 -0500 Original-Received: (qmail 71029 invoked by alias); 23 May 2003 17:59:46 -0000 Original-Received: (qmail 71024 invoked from network); 23 May 2003 17:59:46 -0000 Original-Received: from p50877c02.dip.t-dialin.net (HELO m2a2.dyndns.org) (postfix@80.135.124.2) by sclp3.sclp.com with SMTP; 23 May 2003 17:59:46 -0000 Original-Received: by merlin.emma.line.org (Postfix, from userid 500) id 86C747EB4B; Fri, 23 May 2003 19:59:39 +0200 (CEST) Original-To: Dave Love In-Reply-To: (Dave Love's message of "Tue, 13 May 2003 18:47:03 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52808 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52808 Dave Love 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? I don't know. Can you formulate a more specific question? >> 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. If I comment this one out, then the Unerw.*nscht folder disappears in the folder list when entering the buffer. And yes indeed, the original buffer showed \201 before the other unprintable character. So somehow the character set the folder name was decoded to and the buffer/display's character set didn't match? But my bigger concern however is that I can't fetch messages from that server. See my previous mail. I can't really help myself out because my Elisp isn't even good enough to fully understand the code, and MULE isn't my strong point either. --=20 Matthias Andree