From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: RMAIL: decoding messages read via movemail Date: 23 Jul 2003 12:09:31 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1058951263 513 80.91.224.249 (23 Jul 2003 09:07:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2003 09:07:43 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jul 23 11:07:41 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19fFb3-000089-00 for ; Wed, 23 Jul 2003 11:07:41 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19fFsb-00056C-00 for ; Wed, 23 Jul 2003 11:25:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19fFbJ-00060E-6V for emacs-devel@quimby.gnus.org; Wed, 23 Jul 2003 05:07:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19fFbE-0005tY-FO for emacs-devel@gnu.org; Wed, 23 Jul 2003 05:07:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19fFbC-0005po-SS for emacs-devel@gnu.org; Wed, 23 Jul 2003 05:07:51 -0400 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.20) id 19fFbC-0005cE-3B for emacs-devel@gnu.org; Wed, 23 Jul 2003 05:07:50 -0400 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15679 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15679 It sounds like rmail.el currently doesn't bother to look at the Charset= header before it decodes a message in Babyl format; it only does that for mbox-format messages. This backfires when one fetches email via POP with movemail, since movemail writes Babyl-format messages in that case. Quoted-printable decoding is also not done for Babyl-format messages, so movemail/POP loses again. In addition, if the message is encoded in base64, rmail doesn't decode it as it does with quoted-printable. This loses with some wacky mail servers (such as Exchange) that tend to encode messages with non-ASCII characters in base64, even if the message has only a single part and uses 8-bit charsets perfectly suitable for quoted-printable. Would it be a good idea to fix these deficiencies? I have a patch to rmail.el that fixes all of them (I'm using the patched rmail for the last couple of months). If the idea sounds reasonable, I will install the changes in the CVS.