fix: use UTF-8 as the default locale instead of utf8 (closes #92)

This commit is contained in:
thiblizz 2023-10-15 02:18:09 +02:00 committed by GitHub
parent 716e062661
commit 0ebe7915a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

2
configure vendored
View File

@ -392,7 +392,7 @@ function load_default_config() {
KEYMAP="$(get_default_keymap)" KEYMAP="$(get_default_keymap)"
KEYMAP_INITRAMFS="$KEYMAP" KEYMAP_INITRAMFS="$KEYMAP"
LOCALES="C.UTF-8 UTF-8" LOCALES="C.UTF-8 UTF-8"
LOCALE="C.utf8" LOCALE="C.UTF-8"
SYSTEMD_NETWORKD=true SYSTEMD_NETWORKD=true
SYSTEMD_NETWORKD_INTERFACE_NAME="en*" SYSTEMD_NETWORKD_INTERFACE_NAME="en*"

View File

@ -183,20 +183,21 @@ KEYMAP_INITRAMFS="$KEYMAP"
# A list of additional locales to generate. You should only # A list of additional locales to generate. You should only
# add locales here if you really need them and want to localize # add locales here if you really need them and want to localize
# your system. Otherwise, leave this list empty, and use "C.utf8" as the locale. # your system. Otherwise, leave this list empty, and use "C.UTF-8" as the locale.
# Be careful that the syntax for locales is a bit different from the name of the resulting # Be careful that the syntax for locales is a bit different from the name of the resulting
# locale. For a list of supported locales, see the file /usr/share/i18n/SUPPORTED. # locale. For a list of supported locales, see the file /usr/share/i18n/SUPPORTED.
LOCALES="" LOCALES=""
# The locale to set for the system. Be careful, the locale names deviate from the LOCALES # The locale to set for the system. Be careful, the locale names deviate from the LOCALES
# list entries (e.g. .UTF-8 vs .utf8). See `locale -a` for all available locales. # list entries (e.g. .UTF-8 vs .utf8). See `locale -a` for all available locales.
LOCALE="C.utf8" # Although `locale -a` lists the suffix in lower case without any hyphens, it is best to always use UTF-8 in preference to utf8.
LOCALE="C.UTF-8"
# For a german system you could use: # For a german system you could use:
# LOCALES=" # LOCALES="
# de_DE.UTF-8 UTF-8 # de_DE.UTF-8 UTF-8
# de_DE ISO-8859-1 # de_DE ISO-8859-1
# de_DE@euro ISO-8859-15 # de_DE@euro ISO-8859-15
# " # End of LOCALES # " # End of LOCALES
# LOCALE="de_DE.utf8" # LOCALE="de_DE.UTF-8"
################################################ ################################################