Created
December 31, 2017 15:56
-
-
Save marabesi/b7c37f6cc419ff971f659dad112a0fe7 to your computer and use it in GitHub Desktop.
Fix raspberry pi PERL warning locale
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
#!/bin/bash | |
# The issue explained: http://daker.me/2014/10/how-to-fix-perl-warning-setting-locale-failed-in-raspbian.html | |
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
locale-gen en_US.UTF-8 | |
dpkg-reconfigure locales |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment