--- /dev/null
+Return-Path: <gmn-notmuch@m.gmane.org>\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 9D169431FBC\r
+ for <notmuch@notmuchmail.org>; Tue, 23 Jul 2013 23:44:42 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.865\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.865 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_NONE=-0.0001, RCVD_NUMERIC_HELO=0.865]\r
+ 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 XgxsP5evrEqc for <notmuch@notmuchmail.org>;\r
+ Tue, 23 Jul 2013 23:44:37 -0700 (PDT)\r
+Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])\r
+ (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 57B51431FB6\r
+ for <notmuch@notmuchmail.org>; Tue, 23 Jul 2013 23:44:37 -0700 (PDT)\r
+Received: from list by plane.gmane.org with local (Exim 4.69)\r
+ (envelope-from <gmn-notmuch@m.gmane.org>) id 1V1soM-0002Oq-W1\r
+ for notmuch@notmuchmail.org; Wed, 24 Jul 2013 08:44:34 +0200\r
+Received: from 114.250.130.112 ([114.250.130.112])\r
+ by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
+ id 1AlnuQ-0007hv-00\r
+ for <notmuch@notmuchmail.org>; Wed, 24 Jul 2013 08:44:34 +0200\r
+Received: from eric by 114.250.130.112 with local (Gmexim 0.1 (Debian))\r
+ id 1AlnuQ-0007hv-00\r
+ for <notmuch@notmuchmail.org>; Wed, 24 Jul 2013 08:44:34 +0200\r
+X-Injected-Via-Gmane: http://gmane.org/\r
+To: notmuch@notmuchmail.org\r
+From: Eric Abrahamsen <eric@ericabrahamsen.net>\r
+Subject: Re: UTF-8 in mail headers (namely FROM) sent by bugzilla\r
+Date: Wed, 24 Jul 2013 14:44:56 +0800\r
+Lines: 26\r
+Message-ID: <878v0wqwwn.fsf@ericabrahamsen.net>\r
+References: <08cb1dcd-c5db-4e33-8b09-7730cb3d59a2@gmail.com>\r
+ <871u6psjwr.fsf@ericabrahamsen.net>\r
+ <5712cc41-d0ce-4ed3-af1c-37cf639dd9c0@gmail.com>\r
+Mime-Version: 1.0\r
+Content-Type: text/plain\r
+X-Complaints-To: usenet@ger.gmane.org\r
+X-Gmane-NNTP-Posting-Host: 114.250.130.112\r
+User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)\r
+Cancel-Lock: sha1:lWwSRt8mIAHHPagJzibMwDGHdzU=\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: Wed, 24 Jul 2013 06:44:42 -0000\r
+\r
+Franz Fellner <alpine.art.de@gmail.com>\r
+writes:\r
+\r
+> On Dienstag, 23. Juli 2013 11:30:28 CEST, Eric Abrahamsen wrote:\r
+>>> I have a problem with notmuch-vim (now: git master from 10 min. ago)\r
+>>> (also with alot and ner, not with 'notmuch show' or notmuch-emacs).\r
+>>> UTF-8-encoded From: (at least) does not show Umlauts but a weird\r
+>>> encoded-string. ...\r
+>>\r
+>> Looks like rfc 2047, which is a way of encoding non-ASCII characters in\r
+>> message headers. Gmail does the same thing, and I've had to work around\r
+>> that in emacs/gnus.\r
+>>\r
+>> http://www.ietf.org/rfc/rfc2047.txt\r
+>\r
+> OK, thx. So every app needs to get patched to display those strings properly? Any chance this could be done directly in libnotmuch?\r
+> I grepped for "2047" inside te "emacs" subtree, but found nothing (had\r
+> the hope for a comment for the workaround). Would be interesting to\r
+> see how this is done, so I can at least try to create a patch (though\r
+> my ruby is quite basic).\r
+\r
+The version of gnus I'm using (git) comes with a rfc2047.el file, with\r
+all the appropriate functions. That might be of interest, even if the\r
+solution ends up being in the basic library...\r
+\r
+http://git.gnus.org/cgit/gnus.git/tree/lisp/rfc2047.el\r
+\r