You might have a problem with “locale,” especially using MacOS. All environment variables are supposed to be “en_AU.UTF-8” except LC_ALL=””. The following is an example of “locales” with wrong environment variables.
One way to get around this is to add the things you want to change to the “/etc/default/locale” file (root). Edit file “/etc/default/locale” (root):
# File: /etc/default/locale (root)
LC_CTYPE="en_AU.UTF-8"
LANG="en_AU.UTF-8"
LANGUAGE="en_AU.UTF-8"
LC_ALL=""
After reboot, the “locale” is supposed to be:
If your default environment is not “en_AU.UTF-8”, run (root):
# SUPERUSER (root)
dpkg-reconfigure locales