From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Locale of build environments Date: Thu, 12 Feb 2015 21:20:04 +0100 Message-ID: <87mw4iq3uz.fsf_-_@gnu.org> References: <20150210201452.GA15529@debian> <87h9urt50j.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM0FA-00039o-Dm for guix-devel@gnu.org; Thu, 12 Feb 2015 15:20:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YM0F5-000515-Hw for guix-devel@gnu.org; Thu, 12 Feb 2015 15:20:12 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YM0F5-00050t-Fv for guix-devel@gnu.org; Thu, 12 Feb 2015 15:20:07 -0500 In-Reply-To: <87h9urt50j.fsf@netris.org> (Mark H. Weaver's message of "Thu, 12 Feb 2015 12:26:52 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mark H Weaver Cc: guix-devel@gnu.org Mark H Weaver skribis: > Guile converts POSIX byte strings (e.g. file names) to strings using to > the current locale encoding, but the default locale in our build > environment is "C" which means ASCII-only. > > I would advocate using a UTF-8 locale for all builds by default. Note that this was already the case before locales were moved out of the =E2=80=98glibc=E2=80=99 package. Also, the early bootstrap environment (un= til =E2=80=98glibc-final=E2=80=99 is used) doesn=E2=80=99t have locales. For the non-bootstrap environment, we could make a =E2=80=98glibc-utf8-loca= le=E2=80=99 that would only include =E2=80=98en_US.UTF-8=E2=80=99 (or a few more, but w= hich one?) and add it to the implicit inputs of =E2=80=98gnu-build-system=E2=80=99. WDYT? Ludo=E2=80=99.