[Ecls-list] Hi Juanjo,Chinese words work in windows console now!
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Sat May 26 08:19:44 UTC 2012
On Sat, May 26, 2012 at 4:58 AM, cm <xiao.ao.jiang.hu.cm at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120526/ff0caffb/attachment.html>
More information about the ecl-devel
mailing list