Let's see if the uploaded patches are sufficient to make support complete or at least more usable. What is still missing is to have a default restart (such as replacing the character by a bogus one) associated to the file or to its external format.<br>
<br>$ ecl<br>ECL (Embeddable Common-Lisp) 11.1.1<br>Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya<br>Copyright (C) 1993 Giuseppe Attardi<br>Copyright (C) 2000 Juan J. Garcia-Ripoll<br>ECL is free software, and you are welcome to redistribute it<br>
under certain conditions; see file 'Copyright' for details.<br>Type :h for Help. <br>Top level in: #<process TOP-LEVEL>.<br>> (with-open-file (s "~/foo.txt" :external-format :us-ascii :direction :output :if-exists :supersede) (write-char (code-char 1231) s))<br>
<br>Condition of type: STREAM-ENCODING-ERROR<br>encoding error on stream #<output stream "~/foo.txt"> (:EXTERNAL-FORMAT (:US-ASCII :LF)): the character with code 1231 cannot be encoded.<br><br>Available restarts:<br>
<br>1. (USE-VALUE) Try again with a different supplied code<br>2. (RESTART-TOPLEVEL) Go back to Top-Level REPL.<br><br>Broken at SI:BYTECODES. [Evaluation of: (WITH-OPEN-FILE (S "~/foo.txt" :EXTERNAL-FORMAT :US-ASCII :DIRECTION :OUTPUT :IF-EXISTS :SUPERSEDE) (WRITE-CHAR (CODE-CHAR 1231) S))] In: #<process TOP-LEVEL>.<br>
>> (use-value #\a)<br><br>#\a<br>> (si::system "cat ~/foo.txt")<br>a<br>0<br><br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>