Skip to content

Instantly share code, notes, and snippets.

@AysadKozanoglu
Last active December 14, 2018 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AysadKozanoglu/75bb990b5e04d0d140aeb56e843da8be to your computer and use it in GitHub Desktop.
Save AysadKozanoglu/75bb990b5e04d0d140aeb56e843da8be to your computer and use it in GitHub Desktop.
set locale en_US.UTF-8 quick script
#! /bin/sh
# author: Aysad kozanoglu
#
# quick launch script:
#
# wget -O - https://git.io/fpbwk | sh
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
echo "export LC_ALL=en_US.UTF-8" >> /etc/bash.bashrc
echo "export LANG=en_US.UTF-8" >> /etc/bash.bashrc
echo "export LANGUAGE=en_US.UTF-8" >> /etc/bash.bashrc
locale-gen en_US.UTF-8
echo "LANG=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