[Ecls-list] ECL 12.2.1 can not work with CJK language!

cm xiao.ao.jiang.hu.cm at gmail.com
Thu May 17 04:31:27 UTC 2012


I build Ecl on Window XP with Visual Studio.

the code page of cmd console is cp936.

D:\ECL>ecl
ECL (Embeddable Common-Lisp) 12.2.1 (git:UNKNOWN)
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help.
Top level in: #<process TOP-LEVEL>.
> *features*

(:ECL-BYTECMP :WIN32 :FORMATTER :LITTLE-ENDIAN :UINT32-T :UINT16-T
 :RELATIVE-PACKAGE-NAMES :UNICODE :DFFI :CLOS-STREAMS :CMU-FORMAT :WINDOWS
 :MSVC :ECL-PDE :DLOPEN :CLOS :THREADS :BOEHM-GC :ANSI-CL :COMMON-LISP
 :IEEE-FLOATING-POINT :PREFIXED-API :FFI :PENTIUM4 :COMMON :ECL)

> (sys:stream-external-format-
set *standard-input* :windows-cp936)

> (sys:stream-external-format-set *standard-output* :windows-cp936)

> (print "好") ;<==============================================chinese
language

Condition of type: SIMPLE-ERROR
Read or write operation to stream #<input file "stdin"> signaled an error.
Explanation: Invalid argument.

Available restarts:

1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.

Broken at SI:BYTECODES. [Evaluation of: (SI:TOP-LEVEL T)] In: #<process
TOP-LEVE
L>.
>>

thanks for help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120517/d5de03a2/attachment.html>


More information about the ecl-devel mailing list