From e38db9eed95de0f286e666b630d082ddb9e263ce Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 20 Sep 2020 11:11:03 +0100 Subject: [PATCH] Set the locale at the start of the process jobs script This might help with the odd [1] errors regarding PostgreSQL queries. 1: invalid byte sequence for encoding "UTF8": --- scripts/guix-data-service-process-job.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/guix-data-service-process-job.in b/scripts/guix-data-service-process-job.in index 3748253..995d464 100644 --- a/scripts/guix-data-service-process-job.in +++ b/scripts/guix-data-service-process-job.in @@ -31,6 +31,8 @@ (setvbuf (current-output-port) 'line) (setvbuf (current-error-port) 'line) +(setlocale LC_ALL "en_US.utf8") + (debug-set! width 256) (match (command-line)