Skip to content

Instantly share code, notes, and snippets.

@zoonderkins
Created July 8, 2024 16:38
Show Gist options
  • Save zoonderkins/2da32e25902a23b5fb3f28852fbe31de to your computer and use it in GitHub Desktop.
Save zoonderkins/2da32e25902a23b5fb3f28852fbe31de to your computer and use it in GitHub Desktop.
rc-local-locale-linux
# 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
#!/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