From 39a2777d675627d4a839105bbc82cffbf4b624b4 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Fri, 8 Feb 2013 12:21:47 +0100 Subject: [PATCH] Re: Bug: problem decoding some non-ascii characters in subjects --- 84/fd91ebb1a0a19ff799a2f9d237fbbfe730c29f | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 84/fd91ebb1a0a19ff799a2f9d237fbbfe730c29f diff --git a/84/fd91ebb1a0a19ff799a2f9d237fbbfe730c29f b/84/fd91ebb1a0a19ff799a2f9d237fbbfe730c29f new file mode 100644 index 000000000..cf41f8009 --- /dev/null +++ b/84/fd91ebb1a0a19ff799a2f9d237fbbfe730c29f @@ -0,0 +1,83 @@ +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 A4E9440BC79 + for ; Fri, 8 Feb 2013 03:22:02 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[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 yMDxUCuqJZwT for ; + Fri, 8 Feb 2013 03:22:02 -0800 (PST) +Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com + [209.85.214.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 1633D4077F5 + for ; Fri, 8 Feb 2013 03:22:01 -0800 (PST) +Received: by mail-bk0-f52.google.com with SMTP id jk13so1575115bkc.25 + for ; Fri, 08 Feb 2013 03:22:00 -0800 (PST) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=x-received:from:to:subject:in-reply-to:references:user-agent:date + :message-id:mime-version:content-type:content-transfer-encoding + :x-gm-message-state; + bh=M+IToewtdCx2KLxlrQl2GTMR3hZQd1FE+nAfQTli2Ug=; + b=GWqkjFdYgR6bT/fOXK5ifcCWURxQBTu45qUIW4gVbTwsZE9JG82ugwmnWRwkktYS/1 + F3sS1HSW7R3eXHNQ9BAMNmmwRnHrRrzNqX6+DKorHSVxaKbtpqHKfUNrfGezdRb9FTfW + 3Pivbyx7dcHvsUiXuPs0cemBOWRMJ8CR7Z/RQcDuz2KOglutpvYxH+g5KwSKmBiasEEM + 23l5ckks9ARbYEB+TCQV0SbRmguL6QH9xNIqIIK3b9T7pCsRAYB8LfaUKJhO+/suuc1i + vWcpk/6T5kynmWfYFsMpcB1SnT5f4DpoN9E1XmBsvEyTvL2Fb//hAOZNLQj4Bivheo6U + xtvA== +X-Received: by 10.204.3.220 with SMTP id 28mr1338611bko.62.1360322519368; + Fri, 08 Feb 2013 03:21:59 -0800 (PST) +Received: from localhost ([2001:4b98:dc0:43:216:3eff:fe1b:25f3]) + by mx.google.com with ESMTPS id x18sm6001792bkw.4.2013.02.08.03.21.55 + (version=TLSv1.1 cipher=RC4-SHA bits=128/128); + Fri, 08 Feb 2013 03:21:57 -0800 (PST) +From: Jani Nikula +To: Albin Stjerna , notmuch@notmuchmail.org +Subject: Re: Bug: problem decoding some non-ascii characters in subjects +In-Reply-To: <87txpnds0k.fsf@hecate.student.uu.se> +References: <87txpnds0k.fsf@hecate.student.uu.se> +User-Agent: Notmuch/0.14+259~gdee88db (http://notmuchmail.org) Emacs/23.2.1 + (x86_64-pc-linux-gnu) +Date: Fri, 08 Feb 2013 12:21:47 +0100 +Message-ID: <8738x7kq44.fsf@nikula.org> +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-Gm-Message-State: + ALoCoQl8VcaBQfimk0J/MWBcOiDEoQyGnOlODg8SyewkMgh9d61pRl5V/VGGWoippJcpceyOKN95 +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 11:22:02 -0000 + +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. -- 2.26.2