On Sat, May 26, 2012 at 4:58 AM, cm <xiao.ao.jiang.hu...@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.

Juanjo


-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to