[Ecls-list] ECL 12.2.1 can not work with CJK language!
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Thu May 17 22:04:47 UTC 2012
On Thu, May 17, 2012 at 6:31 AM, cm <xiao.ao.jiang.hu.cm at gmail.com> wrote:
> > (print "好") ;<==============================================chinese
> language
>
> Condition of type: SIMPLE-ERROR
> Read or write operation to stream #<input file "stdin"> signaled an error.
> Explanation: Invalid argument.
>
This seems to have something to do with Windows. If I used read() on the
terminal and I input chinese characters, the C library will complain.
Probably it is trying to map the input (Unicode, chinese, etc) to a
character type and it fails miserably. If I instead use utf8, nothing bad
happens. Really weird.
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/20120518/d87ad765/attachment.html>
More information about the ecl-devel
mailing list