for CSH, TCSH
edit ~/.cshrc
setenv LANG zh_TW.UTF-8
setenv LC_ALL zh_TW.UTF-8
setenv LC_CTYPE zh_TW.UTF-8
setenv MM_CHARSET utf8
for BASH
edit ~/.profile
export LANG=zh_TW.UTF-8
export LC_ALL=zh_TW.UTF-8
export LC_CTYPE=zh_TW.UTF-8
export MM_CHARSET=utf8