aboutsummaryrefslogtreecommitdiff
path: root/scripts/guix-data-service-process-job.in
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-09-20 11:11:03 +0100
committerChristopher Baines <mail@cbaines.net>2020-09-20 11:11:03 +0100
commite38db9eed95de0f286e666b630d082ddb9e263ce (patch)
tree70ee7114d953acdc32d9cb376a68c44b250daa6b /scripts/guix-data-service-process-job.in
parenta0e098a6ceb655ea321a8dca2f172c680ab67812 (diff)
downloaddata-service-e38db9eed95de0f286e666b630d082ddb9e263ce.tar
data-service-e38db9eed95de0f286e666b630d082ddb9e263ce.tar.gz
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":
Diffstat (limited to 'scripts/guix-data-service-process-job.in')
-rw-r--r--scripts/guix-data-service-process-job.in2
1 files changed, 2 insertions, 0 deletions
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)