1
I'm trying to use powerline symbols in gvim. Part of that requires that I set my locale to UTF-8.
export LANG=en_US.UTF-8
Afterwards I see the following errors.
For gvim:
bash-4.1$ /usr/bin/gvim
(process:14055): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
For perl
bash-4.1$ perl -de0
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC__FASTMSG = "true",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I've tried setting LANG
, LANGUAGE
, and LC_ALL
. I've tried both en_US.UTF-8
and en_US.utf8
. When I run locale -a
this is a subset of what it says is available.
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
I'm running on a remote rhel 6 image where I don't have admin privileges. I suspect that I don't actually have UTF-8 available. Is there a way to generate this locale and keep it in my home directory without root? Is there an alternative way to fix this?
I'm setting the LC_ALL variable in bash.
en_US.UTF-8
is not being interpreted as a variable since there is no$
sigil present. Adding quotes does not have any impact. – topcat – 2015-01-29T19:10:24.623