From 6050cdd1db645dd425e40c913ef1b23d43a125fe Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 10 Sep 2026 19:35:17 +0100 Subject: [PATCH] init.sh: much more thorough locale initialisation Signed-off-by: Leah Rowe --- include/init.sh | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/include/init.sh b/include/init.sh index 9d7bbd41..a0d44555 100644 --- a/include/init.sh +++ b/include/init.sh @@ -5,9 +5,23 @@ # Copyright (c) 2020-2026 Leah Rowe # Copyright (c) 2025 Alper Nebi Yasak -export LANG=C.UTF-8 -export LC_COLLATE=C.UTF-8 -export LC_ALL=C.UTF-8 +utf_8="C.UTF-8" + +export LANG="$utf_8" +export LANGUAGE="$utf_8" +export LC_CTYPE="$utf_8" +export LC_NUMERIC="$utf_8" +export LC_TIME="$utf_8" +export LC_COLLATE="$utf_8" +export LC_MONETARY="$utf_8" +export LC_MESSAGES="$utf_8" +export LC_PAPER="$utf_8" +export LC_NAME="$utf_8" +export LC_ADDRESS="$utf_8" +export LC_TELEPHONE="$utf_8" +export LC_MEASUREMENT="$utf_8" +export LC_IDENTIFICATION="$utf_8" +export LC_ALL="$utf_8" projectname="libreboot" projectsite="https://libreboot.org/"