如何(:crlf :|cp932|)
在 ECL 上指定外部格式(例如 )?
我想用某种编码将字符串写入文件。所以我像这样输入我的 REPL:
(with-open-file (out "test.txt"
:direction :output
:external-format '(:crlf :|cp932|))
(write-string "some string" out))
然后调用调试器并显示:
The function EXT:MAKE-ENCODING is undefined.
[Condition of type UNDEFINED-FUNCTION]
这是错误的方式……?当外部格式为:utf-8
时,成功写入...
- ECL 版本 -- 15.3.7
- 操作系统——Ubuntu 14.04