Dpkg::Vendor::Debian: Guarantee UTF-8 locale codeset on sanitize-env
commitdf60765ed4bc6640b788c796dd0c627d7714f807
authorGuillem Jover <guillem@debian.org>
Tue, 2 Jul 2024 21:21:47 +0000 (2 23:21 +0200)
committerGuillem Jover <guillem@debian.org>
Mon, 15 Jul 2024 21:57:32 +0000 (15 23:57 +0200)
tree158abda2e75325dbd5cfc48f023030062186ac50
parent259debe76b8d3283c20ddaa476e6ee95270e593f
Dpkg::Vendor::Debian: Guarantee UTF-8 locale codeset on sanitize-env

If LC_ALL is set move it to LANG (as it is the lowest priority in the
override stack), and delete all other LC_* variables which would have
been shadowed anyway. Set LC_CTYPE C.UTF-8.
scripts/Dpkg/Vendor/Debian.pm