--- /dev/null
+Return-Path: <david@tethera.net>\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 15B1B431FBD\r
+ for <notmuch@notmuchmail.org>; Wed, 12 Feb 2014 18:14:07 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\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 4nhMc51lptVF for <notmuch@notmuchmail.org>;\r
+ Wed, 12 Feb 2014 18:13:59 -0800 (PST)\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+ (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id E0A83431FAE\r
+ for <notmuch@notmuchmail.org>; Wed, 12 Feb 2014 18:13:58 -0800 (PST)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1WDloH-0004IE-HC; Wed, 12 Feb 2014 22:13:53 -0400\r
+Received: (nullmailer pid 27631 invoked by uid 1000); Thu, 13 Feb 2014\r
+ 02:13:50 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: "W. Trevor King" <wking@tremily.us>\r
+Subject: Re: [PATCH v2 14/20] nmbug-status: Encode output using the user's\r
+ locale\r
+In-Reply-To: <20140211223336.GM14197@odin.tremily.us>\r
+References: <cover.1392056624.git.wking@tremily.us>\r
+ <deff072f78f4a7c5b0774e67a8f0517cc704725d.1392056624.git.wking@tremily.us>\r
+ <87eh396e6e.fsf@zancas.localnet> <m2sirpu46i.fsf@guru.guru-group.fi>\r
+ <20140211201135.GJ14197@odin.tremily.us>\r
+ <8761ol5mvy.fsf@zancas.localnet>\r
+ <20140211223336.GM14197@odin.tremily.us>\r
+User-Agent: Notmuch/0.17+53~g3e1d7f6 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 12 Feb 2014 22:13:50 -0400\r
+Message-ID: <877g8z4v4x.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+Cc: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\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: Thu, 13 Feb 2014 02:14:07 -0000\r
+\r
+"W. Trevor King" <wking@tremily.us> writes:\r
+>\r
+> I don't understand why your choice of LANG should depend on the\r
+> interactive-ness of an invocation.\r
+\r
+It's not the choice of LANG, but rather the acceptability of crashing\r
+with an unhandled exception.\r
+\r
+> The upside of a configurable language is that the user gets output in\r
+> their preferred encoding (UTF-8 or not) and=E2=80=94with a bit of additio=\r
+nal\r
+> gettext work=E2=80=94in their preferred language. That sounds like a fair\r
+> trade to me.\r
+\r
+The downside is that it introduces another error condition into the\r
+script. The data from notmuch is unicode; conversion to most non-utf8\r
+locales is lossy and can cause crashes. That's why I don't like the\r
+idea of enabling it without some explicit option or configuration\r
+choice.\r
+\r
+d\r
+\r
+P.S. I just saw your other reply, and yeah, a rebased version of the\r
+other 6 patches would be welcome.\r