Common LispでHTTP - DRAKMAがうまくいかない
(flexi-streams:octets-to-string (drakma:http-request "http://ja.doukaku.org/feeds/comments/" :force-binary nil :external-format-in :utf8 ))
DRAKMAにバイナリとみなされるとURLの内容は文字列ではなくoctetのvectorで返される。
それを文字列化する関数がflexi-streams:octets-to-stringというところまではつきとめられた。
しかし、これをSLIMEで実行すると
error in process filter: byte-code: net-read error: (end-of-file) error in process filter: net-read error: (end-of-file) slime-check-connected: Not connected. Use `M-x slime' to start a Lisp.
などとエラーが出てきてSLIMEの接続が切れる。なんなんだろうか。日本語文字列がいけないのかな??