From ee4e79f871bc2f848ce4b4a176bb725ab71e3cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 25 Jan 2024 22:33:52 +0100 Subject: [PATCH] =?UTF-8?q?ui:=20Default=20to=20=E2=80=9CC.UTF-8=E2=80=9D?= =?UTF-8?q?=20locale=20instead=20of=20=E2=80=9Cen=5FUS.utf8=E2=80=9D.?= 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 9db6f6e9d7..3203423bd6 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -531,7 +531,7 @@ See the \"Application Setup\" section in the manual, for more info.\n")) ;; 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."