From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Locale of build environments Date: Sat, 14 Feb 2015 19:12:13 -0500 Message-ID: <87a90gghia.fsf@netris.org> References: <20150210201452.GA15529@debian> <87h9urt50j.fsf@netris.org> <87mw4iq3uz.fsf_-_@gnu.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]:37299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMmoj-0006kL-AT for guix-devel@gnu.org; Sat, 14 Feb 2015 19:12:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMmog-0005ng-44 for guix-devel@gnu.org; Sat, 14 Feb 2015 19:12:09 -0500 In-Reply-To: <87mw4iq3uz.fsf_-_@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\?\= \=\?utf-8\?Q\?\=22's\?\= message of "Thu, 12 Feb 2015 21:20:04 +0100") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > 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 (= until > =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-lo= cale=E2=80=99 > that would only include =E2=80=98en_US.UTF-8=E2=80=99 (or a few more, but= which one?) > and add it to the implicit inputs of =E2=80=98gnu-build-system=E2=80=99. > > WDYT? Sounds good to me! Thanks, Mark