From 53341c70fcb8888b040230e28bbe5deb1b1773ce Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 26 Sep 2020 11:45:57 +0100 Subject: Change the locale codeset representation From the normalized one, to the one actually contained within glibc. Recent versions of glibc also contain symlinks linking the normalized codeset to the locales with the .UTF-8 ending, but older ones do not. Maybe handling codeset normalisation for queries would be good, but the locale values ending in .UTF-8 are more compatible and allow the code to be simplified. For querying, maybe there should be a locales table which handles different representations. --- scripts/guix-data-service-process-job.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/guix-data-service-process-job.in b/scripts/guix-data-service-process-job.in index 995d464..0aec7be 100644 --- a/scripts/guix-data-service-process-job.in +++ b/scripts/guix-data-service-process-job.in @@ -31,7 +31,7 @@ (setvbuf (current-output-port) 'line) (setvbuf (current-error-port) 'line) -(setlocale LC_ALL "en_US.utf8") +(setlocale LC_ALL "en_US.UTF-8") (debug-set! width 256) -- cgit v1.2.3