[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52831: [installer] Locale problems with nss-certs
From: |
Mathieu Othacehe |
Subject: |
bug#52831: [installer] Locale problems with nss-certs |
Date: |
Wed, 29 Dec 2021 23:02:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello Leo,
> Then I copied the image out of the store and booted it in QEMU.
>
> But, I still had the problem during installation. Did I miss a step?
No, I just sent you a wrong version of my patch, sorry about
that. LC_ALL needs to be set as an environment variable and with a
setlocale call.
--8<---------------cut here---------------start------------->8---
diff --git a/gnu/installer/utils.scm b/gnu/installer/utils.scm
index bb97bc5560..24c16e7e12 100644
--- a/gnu/installer/utils.scm
+++ b/gnu/installer/utils.scm
@@ -97,10 +97,13 @@ (define (pause)
;; least give us translated messages.
(if supported?
(setenv "LC_ALL" locale)
- (setenv "LANGUAGE"
- (string-take locale
- (or (string-index locale #\_)
- (string-length locale)))))))
+ (begin
+ (setlocale LC_ALL "en_US.utf8")
+ (setenv "LC_ALL" "en_US.utf8")
+ (setenv "LANGUAGE"
+ (string-take locale
+ (or (string-index locale #\_)
+ (string-length locale))))))))
--8<---------------cut here---------------end--------------->8---
Thanks,
Mathieu
- bug#52831: [installer] Locale problems with nss-certs, Leo Famulari, 2021/12/27
- bug#52831: [installer] Locale problems with nss-certs, Mathieu Othacehe, 2021/12/29
- bug#52831: [installer] Locale problems with nss-certs, Leo Famulari, 2021/12/29
- bug#52831: [installer] Locale problems with nss-certs,
Mathieu Othacehe <=
- bug#52831: [installer] Locale problems with nss-certs, Leo Famulari, 2021/12/29
- bug#52831: [installer] Locale problems with nss-certs, Mathieu Othacehe, 2021/12/30
- bug#52831: [installer] Locale problems with nss-certs, Mathieu Othacehe, 2021/12/30
- bug#52831: [installer] Locale problems with nss-certs, Leo Famulari, 2021/12/30
- bug#52831: [installer] Locale problems with nss-certs, Mathieu Othacehe, 2021/12/30