From: David Shea dshea@redhat.com
C.UTF-8 is a newish glibc locale this is supposed to solve the problem of how to get an untranslated locale that supports multi-byte characters. I mean, it's still English, but not so overtly. And it's also the only locale besides regular old 7-bit C that's guaranteed to be installed anymore. --- data/systemd/anaconda-tmux@.service | 2 +- data/systemd/anaconda.service | 2 +- pyanaconda/constants.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/data/systemd/anaconda-tmux@.service b/data/systemd/anaconda-tmux@.service index e2fd1b8..c2ecdd7 100644 --- a/data/systemd/anaconda-tmux@.service +++ b/data/systemd/anaconda-tmux@.service @@ -8,7 +8,7 @@ ConditionPathIsDirectory=!/sys/hypervisor/s390 [Service] Type=idle WorkingDirectory=/root -Environment=LANG=en_US.UTF-8 +Environment=LANG=C.UTF-8 ExecStartPre=/usr/bin/echo -e \033%G ExecStart=/usr/bin/tmux -u attach -t anaconda StandardInput=tty diff --git a/data/systemd/anaconda.service b/data/systemd/anaconda.service index a80c6bb..e0e92e2 100644 --- a/data/systemd/anaconda.service +++ b/data/systemd/anaconda.service @@ -5,6 +5,6 @@ Wants=anaconda-noshell.service
[Service] Type=forking -Environment=HOME=/root MALLOC_CHECK_=2 MALLOC_PERTURB_=204 PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin LANG=en_US.UTF-8 GDK_BACKEND=x11 XDG_RUNTIME_DIR=/tmp GIO_USE_VFS=local +Environment=HOME=/root MALLOC_CHECK_=2 MALLOC_PERTURB_=204 PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sysimage/bin:/mnt/sysimage/usr/bin:/mnt/sysimage/usr/sbin:/mnt/sysimage/sbin LANG=C.UTF-8 GDK_BACKEND=x11 XDG_RUNTIME_DIR=/tmp GIO_USE_VFS=local WorkingDirectory=/root ExecStart=/usr/bin/tmux -u -f /usr/share/anaconda/tmux.conf start diff --git a/pyanaconda/constants.py b/pyanaconda/constants.py index fe5cbc0..73e95fd 100644 --- a/pyanaconda/constants.py +++ b/pyanaconda/constants.py @@ -61,7 +61,7 @@ BASE_REPO_NAME = "anaconda"
# NOTE: this should be LANG_TERRITORY.CODESET, e.g. en_US.UTF-8 -DEFAULT_LANG = "en_US.UTF-8" +DEFAULT_LANG = "C.UTF-8"
DEFAULT_VC_FONT = "eurlatgr"