Created
November 15, 2020 16:54
-
-
Save rosswd/ba992701b33fdc2bac489d00f48b7c35 to your computer and use it in GitHub Desktop.
Setting locales on raspberry pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# raspberry pi locales | |
# | |
# dynamically set locales | |
# | |
# check current locale settings | |
locale | |
# reconfigure locale settings (option 1) | |
sudo raspi-config | |
# reconfigure locale settings (option 2) | |
sudo dpkg-reconfigure locales | |
# | |
# manually set locales | |
# | |
# setting individual settings | |
export LANGUAGE="en_US.UTF-8" | |
export LANG="en_US.UTF-8" | |
export LC_ALL="en_US.UTF-8" | |
# apply config | |
sudo locale-gen "en_US.UTF8" | |
# check settings again | |
locale |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment