[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Thu May 28 11:18:30 UTC 2020
wsd/LOOLWSD.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 15ced64d323e10660e60abbbcfa7386780dcfb4e
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu May 28 11:04:29 2020 +0200
Commit: Jan Holesovsky <kendy at collabora.com>
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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
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,
More information about the Libreoffice-commits
mailing list