Setting locales

RogelioRodríguez rogelio at
Thu Dec 11 10:24:24 PST 2003

Odhiambo Washington (2003-12-11):
> Hiya,
> I set the following locales in my .bash_profile:
> export LANG=en_US.UTF-8
> export LC_ALL=en_US.UTF-8
> But I get these warnings when I try to run some script:
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LC_ALL = "en_US.UTF-8",
>         LC_COLLATE = "C",
>         LANG = "en_US.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C")
> How do I install the missing locales?


NB: Currently, the freebsd ncurses library is not exactly ready
for unicode methinks. ncurses 5.3 (ncursesw) is probably best.
But, if you --enable-widec (to get ncursesw) in devel/ncurses you
get a compilation error.




More information about the freebsd-questions mailing list