You are not logged in.

#1 2012-09-15 15:02:14

qdm
Member
From: Wuhan, China
Registered: 2011-02-01
Posts: 12
Website

[SOLVED] Systemd locale issue

I have a recent fresh install of Arch, it's a "pure" systemd installation.
I'm using XFCE4 and Terminal.
I can't manage get proper unicode support, only in the terminal: I'm always stuck on POSIX.

All of this code is run as root.

$ grep -v '#' /etc/locale.gen
en_US.UTF-8 UTF-8  
fr_FR.UTF-8 UTF-8

$ locale-gen
Generating locales...
  en_US.UTF-8... done
  fr_FR.UTF-8... done
Generation complete.

$ locale -a
C
en_US.utf8
fr_FR.utf8
POSIX

$ cat /etc/locale.conf
LANG="en_US.UTF-8"
LC_COLLATE="C"

$ 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=

Pressing my "é" key on the keyboard just produces a "?" in the terminal.
I don't have this issue in any other application.

I have also tried the following:

$ export LANG=en_US.utf8
$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

But I still can't input accented characters.
All of the following lines don't help:

$ export LANG="en_US.utf8"
$ export LANG=en_US.UTF-8
$ export LANG="en_US.UTF-8"

Rebooting multiple times between modifications has not helped.

Help would be greatly appreciated !
Thanks.

Last edited by qdm (2012-09-15 15:32:24)

Offline

#2 2012-09-15 15:20:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Systemd locale issue

Read https://plus.google.com/114015603831160 … zKCcnTWDpa and search the forums. There were similar threads.

Offline

#3 2012-09-15 15:32:06

qdm
Member
From: Wuhan, China
Registered: 2011-02-01
Posts: 12
Website

Re: [SOLVED] Systemd locale issue

Thanks ! I googled this issue for a while and did not find any relevant information.

The solution that worked was in the comments to that post:

I had to force installing the filesystem package which now provides locale.sh and after that I proceeded with installing systemd-sysvcompat which deleted the same file.
Reinstalling filesystem solves the issue.

Last edited by qdm (2012-09-15 15:32:53)

Offline

#4 2012-09-26 10:50:48

uhuu
Member
From: Estonia
Registered: 2010-11-22
Posts: 23

Re: [SOLVED] Systemd locale issue

qdm wrote:

Thanks ! I googled this issue for a while and did not find any relevant information.

The solution that worked was in the comments to that post:

I had to force installing the filesystem package which now provides locale.sh and after that I proceeded with installing systemd-sysvcompat which deleted the same file.
Reinstalling filesystem solves the issue.


Thank you, that problem was driving me nuts, was almoust a showstopper to systemd for me.


Windows is not a virus, virus does something...

Offline

Board footer

Powered by FluxBB