# locale -a // 查看当前系统支持的所有字符集
C
POSIX
luther@gliethttp:/usr/lib$ cp -r /usr/lib/locale/en_GB.utf8 /vobs/nfs/
# mkdir /usr/lib/locale -p
# cp -r /nfs/en_GB.utf8 /usr/lib/locale/ 向系统添加pc机上拷贝过来的字符集en_GB.utf8
# locale -a
C
POSIX
en_GB.utf8
# export LC_ALL="en_GB.utf8" // 为当前shell设置新的字符集
# locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
# export LC_ALL="en_GB.utf8" // 为当前shell设置新的字符集
LANG=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC="en_GB.utf8"
LC_TIME="en_GB.utf8"
LC_COLLATE="en_GB.utf8"
LC_MONETARY="en_GB.utf8"
LC_MESSAGES="en_GB.utf8"
LC_PAPER="en_GB.utf8"
LC_NAME="en_GB.utf8"
LC_ADDRESS="en_GB.utf8"
LC_TELEPHONE="en_GB.utf8"
LC_MEASUREMENT="en_GB.utf8"
LC_IDENTIFICATION="en_GB.utf8"
LC_ALL=
# telnet 202.112.17.137 // 不过还是乱码
阅读(3835) | 评论(0) | 转发(1) |