--- /dev/null
+Return-Path: <dme@dme.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 arlo.cworth.org (Postfix) with ESMTP id DBD676DE09ED\r
+ for <notmuch@notmuchmail.org>; Sat, 6 Feb 2016 09:15:04 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.292\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.292 tagged_above=-999 required=5 tests=[AWL=0.359, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652,\r
+ UNPARSEABLE_RELAY=0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id EplpO4FkMgGv for <notmuch@notmuchmail.org>;\r
+ Sat, 6 Feb 2016 09:15:01 -0800 (PST)\r
+Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com\r
+ [74.125.82.51]) by arlo.cworth.org (Postfix) with ESMTPS id 59D056DE0261 for\r
+ <notmuch@notmuchmail.org>; Sat, 6 Feb 2016 09:15:01 -0800 (PST)\r
+Received: by mail-wm0-f51.google.com with SMTP id r129so64585487wmr.0\r
+ for <notmuch@notmuchmail.org>; Sat, 06 Feb 2016 09:15:01 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=dme-org.20150623.gappssmtp.com; s=20150623;\r
+ h=to:subject:in-reply-to:references:from:date:message-id:mime-version\r
+ :content-type:content-transfer-encoding;\r
+ bh=rJtFk2nw5ou0OeOpRAGquM9qh0yVRPlfU5sYyqGsCg0=;\r
+ b=k+cvjVJlhv4OOZ47TIoFCwaQOvD+5yx3IneZkR37KWFWh3+ulltOk5qsZU1RnJw9qd\r
+ w2glXwvH2t1aWVwhwuwcj51/L5jumyUdOZ4pc28L/dR/LZtsw9rmZB+g90Lat3zJyX7T\r
+ vVRQY1wzOrWqPN7zR2s5+uAPI80MPtIt6qt1Z7TKOtPEnWGenx7uzuQSRB00pX1hzh77\r
+ fbqMzjQe78u12huTkLf6O/GrXZikzEJk+Q7QviPVNqvbnm7sPuuOkZWwhDm2G6LOPFtD\r
+ KQKnVUEZezYSMb1M4d9lA9PVTUkuBHXUqUR552yXx+0kpap0V8BQFiPznk+v64UaH80x\r
+ LbHw==\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=1e100.net; s=20130820;\r
+ h=x-gm-message-state:to:subject:in-reply-to:references:from:date\r
+ :message-id:mime-version:content-type:content-transfer-encoding;\r
+ bh=rJtFk2nw5ou0OeOpRAGquM9qh0yVRPlfU5sYyqGsCg0=;\r
+ b=ZI0BtKcnMP3hwiPZXnV3brw/2mYMh8bhUAlmMixpN7C2U/Wu+Nlpafaac/ctzvTKfE\r
+ llsEgB0CBGixGIXktllgs8ueoGJy9rG57XVde9vMwnGBtj67x0Tx5UicPIUsRAd6dUlr\r
+ rC4lNZASBt4kTPtEX6qlWS/Txt/Rg4kBcBE9YIYsKLc6S2SjzYR6hDoGQBy5FVeEhFqt\r
+ MqZc3WY+qECgENk52dx1Dmdv8OlmmMvmrdYo3tsJSDC7XxeOkliep4ve6PjpigNDI6Un\r
+ chrVyegsySUXkvZoLZjLZdZDAK1Rj47Z+jqSzVzcd1yVbT5YUL/T2Mid1bKpO1FDAlVC\r
+ fZ/Q==\r
+X-Gm-Message-State:\r
+ AG10YOQd/ES1WFCo4Jt7Xwl79CUnEGql9tmRHBFTOYwb5gz3BDQfNr8IIEwP898F1g+YeQ==\r
+X-Received: by 10.28.187.198 with SMTP id l189mr35663096wmf.0.1454778899570;\r
+ Sat, 06 Feb 2016 09:14:59 -0800 (PST)\r
+Received: from disaster-area.hh.sledj.net\r
+ ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+ by smtp.gmail.com with ESMTPSA id bg1sm21226938wjc.27.2016.02.06.09.14.58\r
+ (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+ Sat, 06 Feb 2016 09:14:58 -0800 (PST)\r
+Received: from localhost (disaster-area.hh.sledj.net [local])\r
+ by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id f7b096f4;\r
+ Sat, 6 Feb 2016 17:14:57 +0000 (UTC)\r
+To: Antoine =?utf-8?Q?Beaupr=C3=A9?= <anarcat@orangeseeds.org>, Notmuch Mail\r
+ <notmuch@notmuchmail.org>\r
+Subject: Re: BUG: trouble with forwarding with accents\r
+In-Reply-To: <87vb62ixp9.fsf@angela.anarcat.ath.cx>\r
+References: <87vb62ixp9.fsf@angela.anarcat.ath.cx>\r
+From: David Edmondson <dme@dme.org>\r
+Date: Sat, 06 Feb 2016 17:14:57 +0000\r
+Message-ID: <m2io2169ri.fsf@heart-of-gold.hh.sledj.net>\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.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 06 Feb 2016 17:15:05 -0000\r
+\r
+On Fri, Feb 05 2016, Antoine Beaupr=C3=A9 wrote:\r
+> So I have an accent in my family name, as you can see from the From\r
+> header here. This has a tendency of finding the greatest and finest\r
+> UTF-8 bug, and often no one believes me because they don't have that\r
+> interesting property.\r
+>\r
+> Notmuch has been bugging me with such a problem for ages now. When I\r
+> forward a mail, the accents in my name (or in the signature inserted)\r
+> are broken.\r
+\r
+I tried to reproduce this (by modifying my name in .notmuch-config to\r
+include an accented character and then forwarding your mail), but\r
+everything worked fine (on "GNU Emacs 24.5.1 (x86_64-apple-darwin15.0.0,\r
+NS apple-appkit-1404.11) of 2015-10-05 on heart-of-gold").\r
+\r
+It's tempting to ask whether or not you have any localisation or\r
+language settings in either your shell or emacs, but I probably wouldn't\r
+know how to interpret them even if so :-/\r
+\r
+> (Interstingly, I haven't *actually* been bothered by that\r
+> bug for a while because I was using Emacs through an SSH console. Now,\r
+> I'm using Emacs within a X11 terminal instead, "GNU Emacs 24.4.1\r
+> (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble,\r
+> modified by Debian".)\r
+>\r
+> Interestingly, piping that buffer into patebinit doesn't yield any errors:\r
+>\r
+> http://paste.debian.net/378776/\r
+>\r
+> Yet there is clearly an issue while writing the buffer, as you can see\r
+> on this screenshot:\r
+>\r
+> http://paste.anarc.at/snap-2016.02.05-17.28.30.png\r
+>\r
+> Look at the buffer on the bottom: my accent (a é) is all busted\r
+> in the From line, even though it is perfectly fine in *this* buffer. If\r
+> I try to send that message (say to the `devnull` recipient), I get a\r
+> nasty warning:\r
+>\r
+> ```\r
+> These default coding systems were tried to encode text\r
+> in the buffer `1454711375.18796_680127_47.angela':\r
+> (utf-8-unix (21 . 4194243) (22 . 4194217))\r
+> However, each of them encountered characters it couldn't encode:\r
+> utf-8-unix cannot encode these: \303 \251\r
+>\r
+> Click on a character (or switch to this window by `C-x o'\r
+> and select the characters by RET) to jump to the place it appears,\r
+> where `C-u C-x =3D' will give information about it.\r
+>\r
+> Select one of the safe coding systems listed below,\r
+> or cancel the writing with C-g and edit the buffer\r
+> to remove or modify the problematic characters,\r
+> or specify any other coding system (and risk losing\r
+> the problematic characters).\r
+>\r
+> raw-text no-conversion\r
+> ```\r
+>\r
+> (Note that I rewrote the actual escape characters above to avoid to be\r
+> "backslash number number number" instead of the actual escape sequence\r
+> to avoid trouble, as I am sending this through emacs as well.)\r
+>\r
+> I usually [PLOKTA][1] my way through that warning, but I have no idea if\r
+> the recipient receives something that is jumbled up or not. Besides,\r
+> PLOKTA is not fun, I just feel like I look like this:\r
+>\r
+> http://i1.kym-cdn.com/photos/images/original/000/234/765/b7e.jpg\r
+>\r
+> [1]: https://en.wikipedia.org/wiki/PLOKTA\r
+>\r
+> This sure smells like double-encoding. Is this notmuch's fault or\r
+> message-mode, and how can i fix this stuff?\r
+>\r
+> This is notmuch 0.18 in Debian jessie.\r
+>\r
+> Thanks for any advice,\r
+>\r
+> A.\r
+>\r
+> --=20\r
+> Code is law.\r
+> - Lawrence Lessig\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> https://notmuchmail.org/mailman/listinfo/notmuch\r