Support OS X spelling of en_US.UTF-8

This commit is contained in:
David Tomaschik
2020-11-10 20:56:36 -08:00
parent bc5f9a2741
commit 66e6833623

View File

@@ -46,7 +46,7 @@ export GPG_ID=7FD58D9A196DCEEEAD671F94F4D7A7915DEA789B
# Setup locale
if test -x /usr/bin/locale ; then
for l in en_US.utf8 C.UTF-8 C ; do
for l in en_US.utf8 en_US.UTF-8 C.UTF-8 C ; do
if /usr/bin/locale -a | grep -q "${l}" ; then
export LC_CTYPE=${l}
export LC_NUMERIC=${l}