(defun C:fff ()
;(setvar "cmdecho" 0)
;(setvar "blipmode" 0)
(setq f1 (open "11.daT" "r")) ;;打开并读取文件
(setq data (read-line f1))
(setq f2 (open "22.dat" "w")) ;;打开并读取文件
(PRINC DATA f2);这一行可以正常显示
(setq aa (ascii (substr data 1 1)))
(princ aa f2) ;这一个就是显示乱码
(close f2)
(close f1)
)