ecl 10.4.1 for window xp 32 chinese edition default encoding is cp936(GBK)<br>compile ecl 10.4.1 with mingw32 with --enable-unicode.<br><br>ecl.exe<br><br>D:\msys\1.0\local>ecl<br>ECL (Embeddable Common-Lisp) 10.4.1<br>
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya<br>Copyright (C) 1993 Giuseppe Attardi<br>Copyright (C) 2000 Juan J. Garcia-Ripoll<br>ECL is free software, and you are welcome to redistribute it<br>under certain conditions; see file 'Copyright' for details.<br>
Type :h for Help.<br>Top level in: #<process SI:TOP-LEVEL 00db0fc0>.<br>> *features*<br><br>(:FORMATTER :UINT64-T :UINT32-T :UINT16-T :RELATIVE-PACKAGE-NAMES :UNICODE<br> :DFFI :CLOS-STREAMS :CMU-FORMAT :WINDOWS :WIN32 :MINGW32 :ECL-PDE :DLOPEN<br>
 :CLOS :THREADS :BOEHM-GC :ANSI-CL :COMMON-LISP :IEEE-FLOATING-POINT<br> :PREFIXED-API :FFI :PENTIUM4 :COMMON :ECL)<br>> (print "好") ;;here is chinese string<br><br>"?<br>"?  ;; print trash ,so change encoding <br>
<br>> (ext::stream-external-format-set *standard-input* :CP936)<br><br>> (print "好") ;;here is chinese string<br><br>In function GETHASH, the value of the second argument is<br>  SI::WINDOWS-CP936<br>which is not of the expected type HASH-TABLE<br>
<br>Available restarts:<br><br>1. (RESTART-TOPLEVEL) Go back to Top-Level REPL.<br><br>Broken at GETHASH. In: #<process SI:TOP-LEVEL 00db0fc0>.<br>>><br>Debugger received error: In function GETHASH, the value of the second argument is<br>
  SI::WINDOWS-CP936<br>which is not of the expected type HASH-TABLE<br>Error flushed.<br>>><br><br>how to enable input chinese string in ecl.exe print normal?<br><br>thanks.<br><br> <br>