Date: Tue, 27 Sep 2005 00:36:49 +0200 From: Benjamin Braatz <sean@inmymind.de> To: freebsd-questions@freebsd.org Subject: How to get locales working? Message-ID: <351340B8-80CC-4688-8BD5-FB4A5118E127@inmymind.de>
next in thread | raw e-mail | index | archive | help
Hello! I tried to set my FreeBSD box to using unicode by setting the following locale: sean@lois ~ 0 $ locale LANG=en_GB.UTF-8 LC_CTYPE="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_ALL= This should exist according to "locale -a": sean@lois ~ 0 $ locale -a | grep en_GB.UTF-8 en_GB.UTF-8 sean@lois ~ 0 $ ls /usr/share/locale/en_GB.UTF-8/ LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME However Perl, rxvt-unicode and others complain, that it does not: sean@lois ~ 0 $ perl -e 'print "Hello world!\n"' perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Hello world! sean@lois ~ 0 $ urxvt -h urxvt: default locale unavailable, check LC_* and LANG variables. Continuing. rxvt-unicode (urxvt) v5.7 - released: 2005-07-13 ... What's wrong here? Thanks for any hints! -- Benjamin Braatz sean@inmymind.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?351340B8-80CC-4688-8BD5-FB4A5118E127>