diff options
author | Christopher Baines <mail@cbaines.net> | 2020-09-20 11:11:03 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-09-20 11:11:03 +0100 |
commit | e38db9eed95de0f286e666b630d082ddb9e263ce (patch) | |
tree | 70ee7114d953acdc32d9cb376a68c44b250daa6b /scripts | |
parent | a0e098a6ceb655ea321a8dca2f172c680ab67812 (diff) | |
download | data-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')
-rw-r--r-- | scripts/guix-data-service-process-job.in | 2 |
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) |