X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/99474a17d13e1aab63584b67abd83973aa9dbabd..ba86e143c7aeb0d70ea4c9d73a617a98f06f6baa:/doc/doc-docbook/GenLocalParams?ds=sidebyside diff --git a/doc/doc-docbook/GenLocalParams b/doc/doc-docbook/GenLocalParams index 140890880..fc8e7fc58 100755 --- a/doc/doc-docbook/GenLocalParams +++ b/doc/doc-docbook/GenLocalParams @@ -5,8 +5,16 @@ output="${1:-local_params}" nicedate="$(date +"%d %b %Y")" +if which locale >/dev/null; then + charset="$(locale | grep ^LC_CTYPE=)" +else + charset=unknown +fi + exec > "$output" cat <