Skip to content

Instantly share code, notes, and snippets.

@jasoet
Last active September 21, 2018 23:22
Show Gist options
  • Save jasoet/9a8a586a9cf74d79ff3fe4257626f496 to your computer and use it in GitHub Desktop.
Save jasoet/9a8a586a9cf74d79ff3fe4257626f496 to your computer and use it in GitHub Desktop.
Set Locale on DigitalOcean Ubuntu (Remove Locale Error Message on console)
export LANGUAGE="en_US.UTF-8"
echo 'LANGUAGE="en_US.UTF-8"' >> /etc/default/locale
echo 'LC_ALL="en_US.UTF-8"' >> /etc/default/locale
@jasoet
Copy link
Author

jasoet commented Sep 3, 2016

add export LANGUAGE="en_US.UTF-8" to your .bashrc or .zshrc.

Run this once

echo 'LANGUAGE="en_US.UTF-8"' >> /etc/default/locale
echo 'LC_ALL="en_US.UTF-8"' >> /etc/default/locale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment