]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
DocBook: Use a fixed encoding for output
authorBen Hutchings <ben@decadent.org.uk>
Mon, 28 Sep 2015 00:09:52 +0000 (01:09 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 28 Sep 2015 07:31:48 +0000 (01:31 -0600)
commitb479bfd00e463034a73a9894d4f6d87988cbc559
tree6ee8eaaf8fe73ff66da96bd980d76b3e57f45c3e
parentc51edfb10e6b6e8cfd1bd80ab9f54e51e55ea62a
DocBook: Use a fixed encoding for output

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.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
[jc: added check-lc_ctype to .gitignore]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/DocBook/Makefile
Makefile
scripts/.gitignore
scripts/Makefile
scripts/check-lc_ctype.c [new file with mode: 0644]