Re: Bug: problem decoding some non-ascii characters in subjects
authorAlbin Stjerna <albin.stjerna@gmail.com>
Sat, 9 Feb 2013 09:04:14 +0000 (10:04 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:31 +0000 (09:53 -0800)
77/63f6da5dfde227f75fd4b106d167d48725c7e9 [new file with mode: 0644]

diff --git a/77/63f6da5dfde227f75fd4b106d167d48725c7e9 b/77/63f6da5dfde227f75fd4b106d167d48725c7e9
new file mode 100644 (file)
index 0000000..3e8251f
--- /dev/null
@@ -0,0 +1,94 @@
+Return-Path: <albin.stjerna@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 92B1D41D526\r
+       for <notmuch@notmuchmail.org>; Sat,  9 Feb 2013 01:04:27 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id aPgS7S8iFfI1 for <notmuch@notmuchmail.org>;\r
+       Sat,  9 Feb 2013 01:04:23 -0800 (PST)\r
+Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com\r
+       [209.85.217.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 722B341D528\r
+       for <notmuch@notmuchmail.org>; Sat,  9 Feb 2013 01:04:23 -0800 (PST)\r
+Received: by mail-lb0-f174.google.com with SMTP id l12so3568676lbo.19\r
+       for <notmuch@notmuchmail.org>; Sat, 09 Feb 2013 01:04:20 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=x-received:from:to:cc:subject:in-reply-to:references:user-agent\r
+       :date:message-id:mime-version:content-type:content-transfer-encoding;\r
+       bh=Q7rdummO0H83pdXM1xxBq5OeCpdiweDT9O92xwj3hMg=;\r
+       b=GImoiuMQ3hgy7psb6bmVbxgCYUCqhsc/wKFg9AK1L7+/MWuWWDT4XUjN6N+6CaGQtS\r
+       vCv0VSgPI++TQMxiGELfSuqNUeE8gMX0LlXFl4JaC2lwrN1fhMjRCGf0u7C8jT9M3vTm\r
+       t+WOtMlDeGhCwOdAyFJI/8gjp6xDPsDxNKuv0evlPaHOlAvHn17aSMI8+3uWUtEzswrM\r
+       WTJfDbY8U4Ehhf2c7ID9l3GNsm+l5wAfMFGdtmk8KwihbQq5tbhTTVMsSAD1Vnf6TA71\r
+       EVfdsV2sI5RnixkxbOkMp24TdcL4tbdZFzXoMpB87+vqqMeQ+rkNiwPYjF52QVZjkiu/\r
+       mVOg==\r
+X-Received: by 10.152.122.100 with SMTP id lr4mr7342369lab.28.1360400659068;\r
+       Sat, 09 Feb 2013 01:04:19 -0800 (PST)\r
+Received: from hecate (nl110-96-173.student.uu.se. [130.242.96.173])\r
+       by mx.google.com with ESMTPS id fm8sm9681714lbb.17.2013.02.09.01.04.16\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sat, 09 Feb 2013 01:04:17 -0800 (PST)\r
+From: Albin Stjerna <albin.stjerna@gmail.com>\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: Bug: problem decoding some non-ascii characters in subjects\r
+In-Reply-To: <8738x7kq44.fsf@nikula.org>\r
+References: <87txpnds0k.fsf@hecate.student.uu.se> <8738x7kq44.fsf@nikula.org>\r
+User-Agent: Notmuch/0.14+243~g18d79d1 (http://notmuchmail.org) Emacs/24.3.50.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sat, 09 Feb 2013 10:04:14 +0100\r
+Message-ID: <87pq09eu41.fsf@hecate.student.uu.se>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 09 Feb 2013 09:04:27 -0000\r
+\r
+Jani Nikula wrote:\r
+\r
+> On Fri, 08 Feb 2013, Albin Stjerna <albin.stjerna@gmail.com> wrote:\r
+> > I've been noticing that notmuch has some problems decoding certain\r
+> > strangely-encoded non-ascii characters in certain emails. For example,\r
+> > today I got this: [BIBLIST] Digitaliseringensprojektens skadliga\r
+> > f=3D?ISO-8859-1?Q?=3DF6rk=3DE4rlek_f=3DF6r_?=3D PDF-formatet (should be\r
+> > rendered: =C2=BBDigitaliseringsprojektens skadliga f=C3=B6rk=C3=A4rlek =\r
+f=C3=B6r\r
+> > PDF-formatet=C2=AB).\r
+> >\r
+> > Apparently, some metadata is passed on to help the MUA decode the\r
+> > string, but notmuch doesn't seem to handle it. Entire emails can of\r
+> > course be supplied as needed.\r
+\r
+> Please copy paste the Subject: header directly from the message file.\r
+\r
+The exact Subject: header (from the file, not notmuch) is:\r
+Subject: [BIBLIST] Digitaliseringensprojektens skadliga f=3D?ISO-8859-1?Q?=\r
+=3DF6rk=3DE4rlek_f=3DF6r_?=3D PDF-formatet\r
+\r
+Other potentially interesting headers are:\r
+User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106\r
+            Thunderbird/17.0.2\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed\r
+\r
+(formatted as they appeared in the mail file)\r