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!
------------------------------------------------------------------------------
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