guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Locale of build environments


From: Ludovic Courtès
Subject: Locale of build environments
Date: Thu, 12 Feb 2015 21:20:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Mark H Weaver <address@hidden> 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
‘glibc’ package.  Also, the early bootstrap environment (until
‘glibc-final’ is used) doesn’t have locales.

For the non-bootstrap environment, we could make a ‘glibc-utf8-locale’
that would only include ‘en_US.UTF-8’ (or a few more, but which one?)
and add it to the implicit inputs of ‘gnu-build-system’.

WDYT?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]