[gambit-list] Character encoding and the repl

Marc Feeley feeley at iro.umontreal.ca
Fri Jun 5 14:10:21 EDT 2015


It is not clear to me why it isn’t sufficient for your use case to just call gsi without the -:t8 runtime option.  This will display strings/symbols/chars pretty-printed by the REPL using escapes on Unicode characters > 127.

Put another way, what would be the motivation to start gsi with the -:t8 runtime option if you want to see pretty-printed strings with escapes?

Marc

> On May 30, 2015, at 9:54 PM, Adam <adam.mlmb at gmail.com> wrote:
> 
> 
> 2015-05-31 1:11 GMT+05:30 Marc Feeley <feeley at iro.umontreal.ca>:
> 
> > On May 30, 2015, at 3:26 PM, Adam <adam.mlmb at gmail.com> wrote:
> >
> > Marc, what do those who want preserve the escaping of >=128 do (independent of which terminal encoding is used but for instance with -:t8)?
> >
> 
>   (output-port-readtable-set!
>     (repl-output-port)
>     (readtable-max-unescaped-char-set
>       (output-port-readtable (repl-output-port))
>       (integer->char 127)))
> 
> In your Scheme program or gambcini file.
> 
> Ouch;
> 
> 
> What's your take now on what you said yesterday as quoted in https://mercure.iro.umontreal.ca/pipermail/gambit-list/2015-May/007914.html , and the other reflections on this topic there?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4839 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20150605/0f90cd14/attachment.bin>


More information about the Gambit-list mailing list