Skip to content

Instantly share code, notes, and snippets.

@ihordiachenko
Created June 8, 2016 15:38
Show Gist options
  • Save ihordiachenko/6caf3aef6a52445bf6b41ccce10a8ba3 to your computer and use it in GitHub Desktop.
Save ihordiachenko/6caf3aef6a52445bf6b41ccce10a8ba3 to your computer and use it in GitHub Desktop.
Fix locale on Ubuntu
sudo sh -c "printf '%s\n' \
'LANGUAGE=en_US.UTF-8' \
'LC_ALL=en_US.UTF-8' \
'LANG=en_US.UTF-8' \
'LC_TYPE=en_US.UTF-8' \
> /etc/default/locale"
locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales
#reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment