[arch-general] Where's my locale gone?

Paul Gideon Dann pdgiddie at gmail.com
Mon Nov 3 10:00:31 UTC 2014


On 3 November 2014 09:24, Jesse Jaara <jesse.jaara at gmail.com> wrote:

> Maybe you have the lang set somewhere in your shell configfile. Have you
> tried with a new user?
>

Hmm; yeah, getting somewhere now. I haven't made any modifications to my
shell config for a while, but I did find this (I use zprezto):

if [[ -z "LANG" ]]; then
  export LANG='en_US.UTF-8'
fi

I've commented that out, and I get en_GB.UTF-8 now (which is odd in
itself), but Tmux and Vim still render incorrectly: dividing lines are
accented characters. The Linux built-in console renders some lines
correctly, but some angled lines in Vim are rendered as blocks, so it
doesn't seem to be a Konsole thing.

When I try to invoke "man", I get:

man: can't set the locale; make sure $LC_* and $LANG are correct.

I don't have any LC_ variable set manually, but I didn't think I needed
to...

Also:

# 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
en_GB
en_GB.iso88591
en_GB.utf8

I've done:

# pacman -Qqkk | grep GB

...but that returns nothing.

Any more ideas?

Paul


More information about the arch-general mailing list