wsd/LOOLWSD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 15ced64d323e10660e60abbbcfa7386780dcfb4e Author: Andras Timar <[email protected]> AuthorDate: Thu May 28 11:04:29 2020 +0200 Commit: Jan Holesovsky <[email protected]> CommitDate: Thu May 28 13:18:12 2020 +0200 use C.UTF-8 locale rather than en_US.UTF-8 because en_US.UTF-8 is not present in minimal environments such as docker images Change-Id: I9edcb44df8a8f33117b2c5f1d2fa9e330bfc1770 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95018 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Jan Holesovsky <[email protected]> diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index 57b7c926f..e016bd01b 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -3609,8 +3609,8 @@ int LOOLWSD::innerMain() initializeSSL(); // Force a uniform UTF-8 locale for ourselves & our children. - ::setenv("LC_ALL", "en_US.UTF-8", 1); - setlocale(LC_ALL, "en_US.UTF-8"); + ::setenv("LC_ALL", "C.UTF-8", 1); + setlocale(LC_ALL, "C.UTF-8"); #if !MOBILEAPP // We use the same option set for both parent and child loolwsd, _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
