[arch-general] "error: unknown encoding UTF8: using iso88591 as fallback"
Ralf Mardorf
ralf.mardorf at rocketmail.com
Fri May 29 13:18:58 UTC 2015
On Fri, 29 May 2015 14:38:45 +0200, Damjan Georgievski wrote:
>> [rocketmouse at archlinux ~]$ 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=
>> [rocketmouse at archlinux ~]$
>
>so, your locale is set somewhere else, probablly .profile .bashrc
>or .xprofile.
>
>it seems for these apps it MUST be en_US.UTF-8 - that's the canonical
>name of the encoding UTF-8 (with the dash).
That's the setting I used first.
From my first email:
[rocketmouse at archlinux ~]$ cat /etc/locale.conf
LANG=en_US.UTF-8
Then I edited it:
[rocketmouse at archlinux ~]$ sudo nano /etc/locale.conf
[rocketmouse at archlinux ~]$ cat /etc/locale.conf
LANG=en_US.utf8
However, I can't find anything in $HOME overwriting the settings:
[rocketmouse at archlinux ~]$ cat .profile .bashrc .xprofile
cat: .profile: No such file or directory
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export EDITOR="nano"
cat: .xprofile: No such file or directory
I'm running
$ pacman -Q openbox
openbox 3.5.2-7
and I don't see anything related in openbox's config, the panel's config
gtk2 and 3 and Trolltech configs.
I verified
[rocketmouse at archlinux ~]$ ls -hAl /etc/locale*
-rw-r--r-- 1 root root 16 May 29 14:01 /etc/locale.conf
-rw-r--r-- 1 root root 9.1K Feb 17 2013 /etc/locale.gen
-rw-r--r-- 1 root root 9.4K Feb 7 10:07 /etc/locale.gen.pacnew
Oops, and changed it too
[rocketmouse at archlinux ~]$ ls -hAl /etc/locale*
-rw-r--r-- 1 root root 16 May 29 14:01 /etc/locale.conf
-rw-r--r-- 1 root root 9.4K Feb 7 10:07 /etc/locale.gen
-rw-r--r-- 1 root root 9.1K Feb 17 2013 /etc/locale.gen.old
I edited the new local.gen and run
[rocketmouse at archlinux ~]$ sudo locale-gen
Generating locales...
de_DE.UTF-8... done
de_DE.ISO-8859-1... done
de_DE.ISO-8859-15 at euro... done
en_GB.UTF-8... done
en_GB.ISO-8859-1... done
en_US.UTF-8... done
en_US.ISO-8859-1... done
Generation complete.
but I got
[rocketmouse at archlinux ~]$ locale -a
C
de_DE
de_DE at euro
de_DE.iso88591
de_DE.iso885915 at euro
de_DE.utf8
deutsch
en_GB
en_GB.iso88591
en_GB.utf8
en_US
en_US.iso88591
en_US.utf8
german
POSIX
"The locale to be used, chosen among the previously generated ones, is
set in locale.conf files, each of which must contain a new-line
separated list of environment variable assignments, for example:" -
https://wiki.archlinux.org/index.php/Locale#Setting_the_locale
So no UTF-8 was generated, it's the same as I had before, when neither
/etc/locale.conf
LANG=en_US.utf8
nor
$ cat /etc/locale.conf
LANG=en_US.UTF-8
did work.
Regards,
Ralf
More information about the arch-general
mailing list