From 2aec3781aaef8582538e042d5b3f65d0e4eaa453 Mon Sep 17 00:00:00 2001 From: TLSM Date: Mon, 23 May 2022 20:18:16 -0400 Subject: [PATCH] Set locale to UTF-8 in ubuntu_setup. In light of recent issues caused by one site's DB being improperly encoded as latin-1 (ISO-88591), this is an attempt to make sure the next one winds up on UTF-8, by setting system locale to en_US.utf8 before installing anything. This is completely untested, and I'm not quite confident it'll work. If the next site winds up with a latin-1 database, please update this to reflect whatever commands were necessary to get it fixed. --- ubuntu_setup | 1 + 1 file changed, 1 insertion(+) diff --git a/ubuntu_setup b/ubuntu_setup index 992c8807a6..99f5c7641b 100644 --- a/ubuntu_setup +++ b/ubuntu_setup @@ -1,3 +1,4 @@ +update-locale LANG=en_US.utf8 cd /rDrama cp ./env /env . /env