Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In some cases, sulogin can set LC_CTYPE="POSIX" while retaining the original LC_MESSAGES. In this scenario, the gettext() function may not work as intended and sulogin returns "???" (for example for ja_JP.UTF-8). GNU gettext FAQ: This symptom occurs when the LC_CTYPE facet of the locale is not set; then gettext() doesn't know which character set to use, and converts all messages to ASCII, as far as possible. Addresses: https://issues.redhat.com/browse/RHEL-56983 Addresses: util-linux/util-linux#2185 Signed-off-by: Karel Zak <[email protected]>
- Loading branch information