From cb9bfa31b7be60c05b46c1c6edfd84952355aedd Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 12 Jun 2016 13:22:54 +2100 Subject: [PATCH] Re: [PATCH] devel/man-to-mdwn.pl: portable locale environment variable setting --- 33/dcdd6dc03a06e3378d39b62a44238dda733f60 | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 33/dcdd6dc03a06e3378d39b62a44238dda733f60 diff --git a/33/dcdd6dc03a06e3378d39b62a44238dda733f60 b/33/dcdd6dc03a06e3378d39b62a44238dda733f60 new file mode 100644 index 000000000..3ed087cb5 --- /dev/null +++ b/33/dcdd6dc03a06e3378d39b62a44238dda733f60 @@ -0,0 +1,66 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id DC5586DE01BE + for ; Sat, 11 Jun 2016 09:23:05 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.011 +X-Spam-Level: +X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 + tests=[AWL=-0.000, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id PoHa2-rfx491 for ; + Sat, 11 Jun 2016 09:22:58 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id 243086DE0297 + for ; Sat, 11 Jun 2016 09:22:58 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1bBlgI-0005Fh-Uy; Sat, 11 Jun 2016 12:22:42 -0400 +Received: (nullmailer pid 25489 invoked by uid 1000); + Sat, 11 Jun 2016 16:22:54 -0000 +From: David Bremner +To: Tomi Ollila , notmuch@notmuchmail.org +Cc: tomi.ollila@iki.fi +Subject: Re: [PATCH] devel/man-to-mdwn.pl: portable locale environment + variable setting +In-Reply-To: <1465500912-25678-1-git-send-email-tomi.ollila@iki.fi> +References: <1465500912-25678-1-git-send-email-tomi.ollila@iki.fi> +User-Agent: Notmuch/0.22+28~gb9bf3f4 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sat, 11 Jun 2016 13:22:54 -0300 +Message-ID: <87ziqrvgo1.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Sat, 11 Jun 2016 16:23:05 -0000 + +Tomi Ollila writes: + +> Setting locale environment variables (LC_* and LANG) to e.g. +> en_US.utf8 works fine on Linux, and that is what locale -a +> returns (in Linux). However this does not work e.g. in some *BSD +> systems. +> In these systems, en_US.UTF-8 works. This also works in Linux +> systems (which may look like a surprising thing on the first sight(*)). +> But that *UTF-8 format seems to be widely used in the Linux system: +> Grep it through the files in /etc/, for example. + +pushed to master. If something breaks, complain to Tomi ;) + +d -- 2.26.2