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