Re: "error: unknown encoding UTF8: using iso88591 as fallback"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 29 May 2015 14:38:45 +0200, Damjan Georgievski wrote:
>> [rocketmouse@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@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@archlinux ~]$ cat /etc/locale.conf
  LANG=en_US.UTF-8

Then I edited it:

  [rocketmouse@archlinux ~]$ sudo nano /etc/locale.conf
  [rocketmouse@archlinux ~]$ cat /etc/locale.conf
  LANG=en_US.utf8

However, I can't find anything in $HOME overwriting the settings:

  [rocketmouse@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@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@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@archlinux ~]$ sudo locale-gen
Generating locales...
  de_DE.UTF-8... done
  de_DE.ISO-8859-1... done
  de_DE.ISO-8859-15@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@archlinux ~]$ locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux