打开SAS的配置文件。(V6.12是config.sas,V8是SASV8.cfg,都在SAS的安装路径下。)您会发现有以下几行:
/* This is the OEM character set */
/* -FORMCHAR "衬诼棵糯懒?=|-/*" */
/* This is the ANSI character set (for SAS Monospace font and ANSI Sasfont) */
-FORMCHAR "們剠唶垑妺?=|-/*"
/* This is the ANSI character set */
/*-FORMCHAR "|----|+|---+=|-/*" */
可见默认状态下,SAS并不是使用ANSI标准字符集作为制表符。我们只需把它原来的-FORMCHAR语句注释掉。再起用标准ANSI字符集作为制表符即可。改动如下:
/* This is the OEM character set */
/* -FORMCHAR "衬诼棵糯懒?=|-/*" */
/* This is the ANSI character set (for SAS Monospace font and ANSI Sasfont) */
/* -FORMCHAR "們剠唶垑妺?=|-/*" */
/* This is the ANSI character set */
-FORMCHAR "|----|+|---+=|-/*"
改完后存盘,重起SAS系统,新的设置即可生效。