Set the default LANG to en_US.UTF-8 and also set LC_CTYPE

Fixes #6737