I try to setup postgress in OS X Lion, and find that is not correctly setup the LOCALE environment var.
This is what is set:
LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=
I expect something with UTF-8. This is a clean OS X Lion setup, with spanish language. I don't move anything.
I don't know how setup it to UTF-8.
In the terminal settings, is check UTF-8 and set LOCALE in open, despite that don't work.
zsh --no-rcs
andzsh --no-rcs --no-global-rcs
to narrow down the problem. Also, try just running thelocale
command without a shell via New Command and see what it reports. – Stagnerset locale environment variables
off, restart the terminal and then switch it back on to get the right environment to show up. – Zincograph