On Sat, May 26, 2012 at 4:58 AM, cm <xiao.ao.jiang.hu.cm@gmail.com> wrote:
Hi Juanjo,I update to new version Ecl. The Chinese words work in windows console now. Thank for your help.
But if I  write the code into a lisp file and use load command in repl. it report error:

> (load "code/hello.lisp")
;;; Loading "D:/ecl/code/hello.lisp"

Condition of type: STREAM-DECODING-ERROR
decoding error on stream #<input stream #P"D:/ecl/code/hello.lisp"> (:EXTERNAL-F
ORMAT (:UTF-8 :LF)): the octet sequence (255) cannot be decoded.
Available restarts:

You have to specify a different external format with

(LOAD "code/hello.lisp" :EXTERNAL-FORMAT :WINDOWS-CP936)

for instance. This is because Windows saves the data in some format and ECL has no information to guess it.


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)