Re: Locale of build environments

2015-03-01 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Besides, commit e8c9f04 is interesting: ‘substitute*’ will now break > non-UTF-8 files by defaults (replacing invalid UTF-8 sequences with > question marks in the output.) Based on that observation, commit dd0a8ef forced the ‘patch-*’ procedures to treat

Re: Locale of build environments

2015-02-27 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > Mark H Weaver skribis: > >> l...@gnu.org (Ludovic Courtès) writes: >> >>> Commit 5335c56 adds an ‘install-locale’ phase to gnu-build-system and >>> the next one adds glibc-utf8-locale to the implicit inputs. >>> >>> During bootstrap, locales aren’t availa

Re: Locale of build environments

2015-02-27 Thread Ludovic Courtès
Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Commit 5335c56 adds an ‘install-locale’ phase to gnu-build-system and >> the next one adds glibc-utf8-locale to the implicit inputs. >> >> During bootstrap, locales aren’t available so we’re still running on the >> C locale, whi

Re: Locale of build environments

2015-02-26 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Commit 5335c56 adds an ‘install-locale’ phase to gnu-build-system and > the next one adds glibc-utf8-locale to the implicit inputs. > > During bootstrap, locales aren’t available so we’re still running on the > C locale, which is fine in practice because we

Re: Locale of build environments

2015-02-14 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) 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 local

Re: Locale of build environments

2015-02-12 Thread Andreas Enge
On Thu, Feb 12, 2015 at 09:20:04PM +0100, Ludovic Courtès wrote: > 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’. >From what I can see, any one

Locale of build environments

2015-02-12 Thread Ludovic Courtès
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