- 论坛徽章:
- 0
|
solaris中用vi汉字乱码如何设置?
\r\n/etc/TIMEZONE 中设置,我的设置为:\r\n# @(#)init.dfl 1.5 99/05/26\r\n#\r\n# This file is /etc/default/init. /etc/TIMEZONE is a symlink to this file.\r\n# This file looks like a shell script, but it is not. To maintain\r\n# compatibility with old versions of /etc/TIMEZONE, some shell constructs\r\n# (i.e., export commands) are allowed in this file, but are ignored.\r\n#\r\n# Lines of this file should be of the form VAR=value, where VAR is one of\r\n# TZ, LANG, CMASK, or any of the LC_* environment variables.\r\n#\r\nTZ=PRC\r\nCMASK=022\r\nLANG=zh.GBK\r\n\r\n\r\n看来,LANG设成zh才可以。 |
|