mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-16 17:42:05 +00:00
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@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
This commit is contained in:

committed by
Jan Holesovsky

parent
00471c82e5
commit
15ced64d32
@ -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,
|
||||
|
Reference in New Issue
Block a user