From: Sam S. <sd...@gn...> - 2017-03-20 18:50:19
|
> * Sam Steingold <fq...@ta...t> [2017-03-20 14:46:52 -0400]: > >> * Jean Louis <ohtf@tah.fhccbeg> [2017-03-20 18:35:56 +0300]: >> >> I was debugging one by one, then I found, if I use >> make-pipe-io-stream, I had to set the custom:*default-file-encoding* >> to t, as when piping into the stream, that is somehow related. I was >> thinking standard input and output is enough. Now it works well. > > http://clisp.org/impnotes/encoding.html#def-file-enc > >>>> The SYMBOL-MACRO place CUSTOM:*DEFAULT-FILE-ENCODING* is the >>>> encoding used for new file/pipe/socket STREAM, when no >>>> :EXTERNAL-FORMAT argument was specified. ... when you look at the doc for the function make-pipe-io-stream (http://clisp.org/impnotes/shell.html#pipe) and click on the :EXTERNAL-FORMAT in the function signature, you are taken to http://clisp.org/impnotes/open.html#extfmt which documents the feature you discovered by trial end error. PS. You now owe me 1 zorkmid http://clisp.org/impnotes/faq.html#faq-fine :-) -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504 http://steingoldpsychology.com http://www.childpsy.net http://memri.org http://islamexposedonline.com http://no2bds.org http://iris.org.il Incorrect time synchronization. |