Created
July 8, 2024 16:38
-
-
Save zoonderkins/2da32e25902a23b5fb3f28852fbe31de to your computer and use it in GitHub Desktop.
rc-local-locale-linux
This file contains hidden or 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
# You got this warning -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) | |
# Solution | |
locale-gen en_US.UTF-8 | |
# Choose en_US.UTF-8 | |
dpkg-reconfigure locales | |
# Edit | |
nano /etc/default/locale | |
LANG=en_US.UTF-8 | |
LC_ALL=en_US.UTF-8 |
This file contains hidden or 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 | |
timedatectl set-timezone Asia/Taipei | |
export LC_CTYPE=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment