Skip to content

Instantly share code, notes, and snippets.

@ChrisTitusTech
Created October 27, 2020 21:51
Show Gist options
  • Star 26 You must be signed in to star a gist
  • Fork 12 You must be signed in to fork a gist
  • Save ChrisTitusTech/f55e2fd0b39b268fed251d12bd91b5e8 to your computer and use it in GitHub Desktop.
Save ChrisTitusTech/f55e2fd0b39b268fed251d12bd91b5e8 to your computer and use it in GitHub Desktop.
Fix Locales in any distro
#!/bin/bash
echo "LC_ALL=en_US.UTF-8" | sudo tee -a /etc/environment
echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
echo "LANG=en_US.UTF-8" | sudo tee -a /etc/locale.conf
sudo locale-gen en_US.UTF-8
@c0dertitan
Copy link

Nice, a shell script in bash.

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