A Tangential Discourse on Lisp and the Lineage of Languages

Bryan Sant bryan.sant at gmail.com
Mon Mar 13 11:35:19 MST 2006


On 3/11/06, Levi Pearson <levi at cold.org> wrote:
> I recommend SBCL.  Just fire it up and type (load "/path/to/
> dicttest.lisp"), and it will load and compile the file.  Then type
> (find-word-counts "/path/to/filename"), and you should get the result
> in a small fraction of a second.  To find out how long it takes to
> execute, use (time (find-word-counts ... )).

When I run sbcl and then the load instruction, I get the following error:

debugger invoked on a SB-INT:STREAM-DECODING-ERROR in thread 3085018816:
  decoding error on stream
  #<SB-SYS:FD-STREAM for "file \"/usr/share/dict/words\"" {9075801}>
  (:EXTERNAL-FORMAT :UTF-8):
    the octet sequence (243 110 10 65) cannot be decoded.

Why can't lisp parse the words file?  UTF8 problem?

-Bryan



More information about the PLUG mailing list