Skip to content

Instantly share code, notes, and snippets.

@wizact
Created May 12, 2016 00:48
Show Gist options
  • Save wizact/f7eff2e7f99960b3d1e638506984f7d0 to your computer and use it in GitHub Desktop.
Save wizact/f7eff2e7f99960b3d1e638506984f7d0 to your computer and use it in GitHub Desktop.
Fixing the locale not supported issue
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8 #better not to set this
locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
#Better way --> Check the: /etc/default/locale
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=en_US.UTF-8
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment