Re: CGI: PRINC: Character #\u0106 cannot be represented in the character set CHARSET:ASCII

Sam Steingold <[email protected]> Mon, 20 Mar 2017 14:50:11 -0400
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
> * Sam Steingold <[email protected]> [2017-03-20 14:46:52 -0400]:
>
>> * Jean Louis <[email protected]> [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.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list