Force en_US.UTF-8

In order to properly parse output from certain commands we must ensure that
output is in the correct locale and character set.  Previously we had just set
LANG but that doesn't force the issue and some systems may still have issues.
While this change will override a person's foreign language preferences this is
preferable to it causing a failed migration.
This commit is contained in:
Peter Ajamian 2021-07-03 17:55:39 +12:00
parent 3c1c51bf35
commit 6ee3330480

View file

@ -105,7 +105,7 @@ errmsg () {
printf '%s%s%s' "$errcolor" "$msg" "$nocolor" >&4
}
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8 LANGUAGE=en_US
shopt -s nullglob
SUPPORTED_MAJOR="8"