You are not logged in.

#1 2016-03-12 10:17:02

Spooky4672
Member
Registered: 2016-03-12
Posts: 14

[SOLVED] Accented character problem

HI,

I just installed Arch a week ago. I have a problem with accented characters (éàùàèç ...) in the terminal emulator and mostly everywhere in xfce (windows title, button ...).
It is only working in X terminal and logged as root, if I log with my account, instead of 'é' it display <ffffffff>.


Here is the ouput of 'locale -a' :

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
fr_FR
fr_FR.iso88591
fr_FR.iso885915@euro
fr_FR.utf8
fr_FR@euro
french

/etc/locale.conf :
LANG="fr-FR.UTF-8"
LANGUAGE="fr_FR:en_US"
LC_COLLATE=C

EDIT :
'locale' output (no -a) :

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=fr-FR.utf8
LC_CTYPE="fr-FR.utf8"
LC_NUMERIC="fr-FR.utf8"
LC_TIME="fr-FR.utf8"
LC_COLLATE="fr-FR.utf8"
LC_MONETARY="fr-FR.utf8"
LC_MESSAGES="fr-FR.utf8"
LC_PAPER="fr-FR.utf8"
LC_NAME="fr-FR.utf8"
LC_ADDRESS="fr-FR.utf8"
LC_TELEPHONE="fr-FR.utf8"
LC_MEASUREMENT="fr-FR.utf8"
LC_IDENTIFICATION="fr-FR.utf8"
LC_ALL=

Why here its fr-FR instead of fr_FR like everywhere ?

Last edited by Spooky4672 (2016-03-12 13:08:28)

Offline

#2 2016-03-12 12:21:08

Spooky4672
Member
Registered: 2016-03-12
Posts: 14

Re: [SOLVED] Accented character problem

help me please ! I edited my post

Also, could it be possible that locale.conf is not read ? Because if I put 'LANGUAGE=fr_FR' into it, after a restart 'echo $LANGUAGE' print nothing

Last edited by Spooky4672 (2016-03-12 12:42:16)

Offline

#3 2016-03-12 13:08:10

Spooky4672
Member
Registered: 2016-03-12
Posts: 14

Re: [SOLVED] Accented character problem

I found the problem, I had to edit /etc/environment and add 'LANG=...'
This is documented nowhere

Offline

#4 2016-03-12 13:12:33

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Accented character problem

There's a typo in your locale.conf. That's the real problem.

Offline

#5 2016-03-13 13:29:55

Spooky4672
Member
Registered: 2016-03-12
Posts: 14

Re: [SOLVED] Accented character problem

What do you mean ? The " ? Because with and without its the same

Offline

#6 2016-03-13 17:02:54

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: [SOLVED] Accented character problem

Your locale.conf:

LANG="fr-FR.UTF-8"

compare with

LANG="fr_FR.UTF-8"

Offline

Board footer

Powered by FluxBB