[Reproducible-builds] [PATCH v2 2/2] DocBook: Use a fixed encoding for output

Jonathan Corbet corbet at lwn.net
Mon Sep 28 07:33:50 UTC 2015


On Mon, 28 Sep 2015 01:09:52 +0100
Ben Hutchings <ben at decadent.org.uk> wrote:

> Currently the encoding of documents generated by DocBook depends on
> the current locale.  Make the output reproducible independently of
> the locale, by setting the encoding to UTF-8 (LC_CTYPE=C.UTF-8) by
> preference, or ASCII (LC_CTYPE=C) as a fallback.
> 
> LC_CTYPE can normally be overridden by LC_ALL, but the top-level
> Makefile unsets that.

Applied to the docs tree (part 1 went in a few weeks ago).  Added
check-lc_ctype to scripts/.gitignore while I was at it.

Thanks,

jon



More information about the Reproducible-builds mailing list