title: Running utf-8 encoded scripts with Steel Bank Common Lisp
body: <p>I am trying to run a common lisp script from the command line, on Ubuntu 12.04, using SBCL 1.1.7. I start the script with</p>
  
  <pre><code>$ sbcl --script &lt;my-script.lisp&gt;
  </code></pre>
  
  <p>Since the script is UTF_8 encoded, I get some error messages:</p>
  
  <pre><code>; compiling (DEFUN PRINT-USAGE ...)unhandled SB-INT:STREAM-DECODING-ERROR in thread #&lt;SB-THREAD:THREAD
                                                 "main thread" RUNNING
                                                  {1002A39983}&gt;:
  :ASCII stream decoding error on
  #&lt;SB-SYS:FD-STREAM
      for "file ... .lisp"
      {10045745E3}&gt;:
  
      the octet sequence #(194) cannot be decoded.
  </code></pre>
  
  <p>I guess the solution would be to tell SBCL to treat the source file as UTF-8 but I cannot find anything in the documentation or on google on how to do this.</p>
  
  <p>Any hint?</p>