2008年8月18日 星期一

FW: using uft8 and big5 on cvs1/cvs2 by putty



To use utf8 on cvs1/cvs2
-------------------------
1. in shell:
LANG=en_US.UTF-8; export LANG

2. change the putty preference:
set [Window/Translation/Receive data assumed charset] to utf8

To use big5 on cvs1/cvs2
-------------------------
1. in shell:
LANG=zh_TW.big5; export LANG

2. change the putty preference:
set [Window/Translation/Receive data assumed charset] to Use font encoding


ps: we have make two alias cmds to set LANG for your convenience
utf8 will set LANG to en_US.UTF-8

big5 will set LANG to zh_TW.big5

沒有留言: