-
Bug
-
Resolution: Won't Do
-
Undefined
-
rhel-7.9.z
-
None
-
Important
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
---
-
-
x86_64
-
None
Description of problem:
The documentation says, "To set the locale at a system wide level, the file /etc/locale.conf need to be modified." [1]
Version-Release number of selected component (if applicable):
How reproducible:
- podman run -ti registry.redhat.io/openjdk/openjdk-11-rhel7:latest bash
[jboss@7bcee20dc1de ~]$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
[jboss@7bcee20dc1de ~]$ cat /etc/locale.conf
LANG="en_US.UTF-8"
Actual results:
current locale is POSIX
Expected results:
current locale is en_US.UTF-8
Additional info:
If confirmed, this is rather serious. For instance switching from en_US.UTF-8 to POSIX locale means that all Java properties files will be read with ANSI_X3.4-1968 encoding instead of UTF-8. So Java 9 and later applications that relied on properties being in UTF-8 by default will break in subtle ways.
- external trackers