我正在尝试通过quicklisp在slime中加载hunchentoot,并收到以下错误:
READ error during COMPILE-FILE:
:ASCII stream decoding error on
#<SB-SYS:FD-STREAM
for "file [redacted]/dists/quicklisp/software/rfc2388-20120107-http/rfc2388.asd"
{100607B723}>:
the octet sequence #(196) cannot be decoded.
(in form starting at line: 29, column: 29,
file-position: 1615)
[Condition of type ASDF:LOAD-SYSTEM-DEFINITION-ERROR]
我在尝试运行时得到这个:
(ql:quickload "hunchentoot")
或者简单地说:
(ql:quickload "rfc2388")
The system file is encoded as UTF-8.
I'm not sure how to configure things so that SBCL on Windows starts with
UTF-8 as its default encoding for loading sources, but that's what you
need to do.
从那里,我尝试过(基于例如 [this] 将以下内容添加到我的 emacs 配置中:
(set-language-environment "UTF-8")
(setq slime-lisp-implementations
'((sbcl ("/opt/local/bin/sbcl") :coding-system utf-8-unix)))
(setq slime-net-coding-system 'utf-8-unix)
但是......即使在完全重新启动 emacs 之后,我仍然会遇到同样的错误,以确保我有一个正在读取上述配置的新 Slime。
那么,我错过了什么,和/或我怎样才能加载它?
提前致谢!(更感谢您的成功回答。;)