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
This commit is contained in:
Ludovic Courtès 2024-01-25 22:33:52 +01:00
parent a42d54039b
commit ee4e79f871
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -531,7 +531,7 @@ (define (install-locale)
;; We're now running in the "C" locale. Try to install a UTF-8 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 ;; instead. This one is guaranteed to be available in 'guix' from 'guix
;; pull'. ;; pull'.
(false-if-exception (setlocale LC_ALL "en_US.utf8"))))) (false-if-exception (setlocale LC_ALL "C.UTF-8")))))
(define (initialize-guix) (define (initialize-guix)
"Perform the usual initialization for stand-alone Guix commands." "Perform the usual initialization for stand-alone Guix commands."