Skip to content

Instantly share code, notes, and snippets.

@ghigt
Last active March 24, 2017 15:58
Show Gist options
  • Save ghigt/6185331 to your computer and use it in GitHub Desktop.
Save ghigt/6185331 to your computer and use it in GitHub Desktop.
Fix problems with locales

Run script.sh as:

curl -L https://gist.github.com/GhiGt/6185331/raw/26ecb9da925fbb31ce25799a30e7a889a675934a/script.sh | sudo bash

Then restart.

#!/usr/bin/env bash
cat << EOF >> /etc/default/locale
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment