From b4991bd54ce1e7c1a551b6add840994f4c89b64a Mon Sep 17 00:00:00 2001 From: Albin Stjerna Date: Fri, 8 Feb 2013 11:22:35 +0100 Subject: [PATCH] Bug: problem decoding some non-ascii characters in subjects --- d2/74045d7990082057cfbc6178f8516b12f4226a | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 d2/74045d7990082057cfbc6178f8516b12f4226a diff --git a/d2/74045d7990082057cfbc6178f8516b12f4226a b/d2/74045d7990082057cfbc6178f8516b12f4226a new file mode 100644 index 000000000..30ddb6d3c --- /dev/null +++ b/d2/74045d7990082057cfbc6178f8516b12f4226a @@ -0,0 +1,76 @@ +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 5A84240C428 + for ; Fri, 8 Feb 2013 02:22:58 -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 7LB910T+r1oP for ; + Fri, 8 Feb 2013 02:22:58 -0800 (PST) +Received: from mail-la0-f53.google.com (mail-la0-f53.google.com + [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id AE6744052DB + for ; Fri, 8 Feb 2013 02:22:43 -0800 (PST) +Received: by mail-la0-f53.google.com with SMTP id fr10so3618176lab.12 + for ; Fri, 08 Feb 2013 02:22:41 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:from:to:cc:subject:user-agent:date:message-id + :mime-version:content-type:content-transfer-encoding; + bh=94ZpFTMuSLoqXy7P1AlsCNpQur3xmQQop0bEKLWdRNA=; + b=WmXySATWaKiiEWU6oJDeI+DZeMryl3zgB9A58lwiqsI50cV8Tdk8IO1om6g74kHtUj + k97emVXZUz0/LozEuzjM27YqFcPkgag06+MoQxNtGqC4WN4NyoP3ximB0QvpW4FHCJEU + MuRlHlQA7P6MH+FTr7NAjKFRLgkgj1nBQKCMrIKep8GOZNigYq2uGl5sEGSFmRSTzbw/ + ROJbsosQ3kOaUDxXe6VUhf3thRHRR/eWli8UM/BhExA39WzSsNKkFNky0J2QjUKgOW+q + crF5ctd/J/gMS6nhQrNK/RwvFkF/ZfCiQYOBO4+WO4G6q7BNKNraOUGrsmuSwVzzorRj + y7SA== +X-Received: by 10.112.8.233 with SMTP id u9mr2030577lba.97.1360318959658; + Fri, 08 Feb 2013 02:22:39 -0800 (PST) +Received: from hecate (nl110-96-173.student.uu.se. [130.242.96.173]) + by mx.google.com with ESMTPS id iw6sm16475726lab.2.2013.02.08.02.22.36 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Fri, 08 Feb 2013 02:22:37 -0800 (PST) +From: Albin Stjerna +To: notmuch@notmuchmail.org +Cc: +Subject: Bug: problem decoding some non-ascii characters in subjects +User-Agent: Notmuch/0.14+243~g18d79d1 (http://notmuchmail.org) Emacs/24.3.50.1 + (x86_64-pc-linux-gnu) +Date: Fri, 08 Feb 2013 11:22:35 +0100 +Message-ID: <87txpnds0k.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: Fri, 08 Feb 2013 10:22:58 -0000 + +Hi, + +I've been noticing that notmuch has some problems decoding certain strangel= +y-encoded non-ascii characters in certain emails. For example, today I got = +this: [BIBLIST] Digitaliseringensprojektens skadliga f=3D?ISO-8859-1?Q?=3DF= +6rk=3DE4rlek_f=3DF6r_?=3D PDF-formatet (should be rendered: =C2=BBDigitalis= +eringsprojektens 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, b= +ut notmuch doesn't seem to handle it. Entire emails can of course be suppli= +ed as needed. -- 2.26.2