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

Jonathan Corbet corbet at lwn.net
Fri Sep 11 19:30:59 UTC 2015


On Tue, 01 Sep 2015 23:49:19 +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.

I guess I have to ask, though: doesn't it seem that having the docs
produced according to the current locale is the Right Thing to do?  Users
have their locale set as it is for a reason, it seems like the production
of textual documents should respect their choice.

Am I missing something here?

Thanks,

jon



More information about the Reproducible-builds mailing list