xwings@xwings:~$ cat /etc/profile.d/lang.sh
#!/bin/sh
# Set the system locale (default C is the same as en_US):
#export LANG=C
#unset LC_ALL
export LANG=zh_CN.gbk
export LC_CTYPE=zh_CN.gbk
export LC_NUMERIC=POSIX
export LC_TIME=POSIX
export LC_COLLATE=POSIX
export LC_MONETARY=POSIX
export LC_MESSAGES=POSIX
export LC_PAPER=POSIX
export LC_NAME=POSIX
export LC_ADDRESS=POSIX
export LC_TELEPHONE=POSIX
export LC_MEASUREMENT=POSIX
export LC_IDENTIFICATION=POSIX
#export LC_ALL=zh_CN.gbk
# This setting has been reported to fix some cut and paste
# problems with GTK2. If you experience this, try it:
#export LANG=en_US.ISO8859-1