Use C.UTF-8

We use C.UTF-8 on production, this change unifies usage of C.UTF-8 in
all images.

Changelog: changed
This commit is contained in:
Jan Provaznik 2021-11-16 08:19:23 +01:00
parent b6e40a81cd
commit 6b2d75fc44
15 changed files with 40 additions and 40 deletions

View file

@ -37,10 +37,10 @@ fi
# Set UTF-8
# http://stackoverflow.com/a/3182519/2137281
LOC=$'LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8'
LOC=$'LC_ALL=C.UTF-8\nLANG=C.UTF-8'
echo "$LOC" > /etc/environment
cat /etc/environment
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
echo "C.UTF-8 UTF-8" > /etc/locale.gen
locale-gen
dpkg-reconfigure locales -f noninteractive -p critical
locale -a