this is for setting your locale in the USA.Run locale -a to get a list of all the available locale settings.

Edit /etc/login.conf and modify/add the following lines:


# vi /etc/login.conf

Now edit or add the following lines:


:umask=022:\
:charset=UTF-8:\
:lang=en_US.UTF-8:

Now run


cap_mkdb /etc/login.conf

log completely out and log back in

now run locale and this should pop up:


LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=