Default
Locales
C. BinKadal --- Sendirian, Berhad


List of Contents


“locale” problem

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:


Set Default: “en_AU.UTF-8”

If your default environment is not “en_AU.UTF-8”, run (root):

# SUPERUSER (root)
dpkg-reconfigure locales

  • Select for locales to be generated: “en_AU.UTF-8 UTF-8”

  • Select for default locale for the system environment: “en_AU.UTF-8”



© 2021-2024 --- C. BinKadal --- About --- Revision: Tue 26 Nov 2024 18:00.