guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: ui: Default to “C.UTF-8” locale instead of “en_US.utf8”.


From: guix-commits
Subject: 03/03: ui: Default to “C.UTF-8” locale instead of “en_US.utf8”.
Date: Thu, 25 Jan 2024 16:35:24 -0500 (EST)

civodul pushed a commit to branch core-updates
in repository guix.

commit 47cf70bc6a5f64c270d83bf3589cc33b654f6090
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jan 25 22:33:52 2024 +0100

    ui: Default to “C.UTF-8” locale instead of “en_US.utf8”.
    
    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 @@ 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]