From 47cf70bc6a5f64c270d83bf3589cc33b654f6090 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 25 Jan 2024 22:33:52 +0100 Subject: ui: Default to “C.UTF-8” locale instead of “en_US.utf8”. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a followup to 1cebc334a77030c0c94955981652f4df7608c9e3. * guix/ui.scm (install-locale): Default to “C.UTF-8”. Change-Id: Icc92bfe0d75c415eb11a9af207824544ed75e084 --- guix/ui.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/ui.scm b/guix/ui.scm index 962d291d2e..5719a1d2e2 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -529,7 +529,7 @@ (define (install-locale) ;; We're now running in the "C" locale. Try to install a UTF-8 locale ;; instead. This one is guaranteed to be available in 'guix' from 'guix ;; pull'. - (false-if-exception (setlocale LC_ALL "en_US.utf8"))))) + (false-if-exception (setlocale LC_ALL "C.UTF-8"))))) (define (initialize-guix) "Perform the usual initialization for stand-alone Guix commands." -- cgit v1.2.3