<div dir="ltr"><div><span style="font-size:12.8000001907349px">Marc,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">The new autodetection routine at lib/_io#.scm:747+ in <a href="https://github.com/feeley/gambit/commit/8d2c2e60c007a473f1aa1d16110c4a547d29b7a0" target="_blank">https://github.com/feeley/gambit/commit/8d2c2e60c007a473f1aa1d16110c4a547d29b7a0</a> is super nice.<br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I agree it's nice that all readable european, asian, etc. characters come out unescaped, but it's weird to know that Gambit would come not-copy-paste-proof out of the box, and that you need a specialized script at startup to fix that.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I use the best terminal software and it does not show all unicode characters;</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">To understand the implications of unescaped Unicode characters, I read up on <a href="http://unicode.org/charts/" target="_blank">http://unicode.org/charts/</a> and other places, and it seems that the worst abuse of Unicode characters is illustrated here <a href="http://www.marlborotech.com/Zalgo.html" target="_blank">http://www.marlborotech.com/Zalgo.html</a> , and maybe also the right-to-left/left-to-right characters can cause disorder -</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><span style="font-size:small">for reference, attached a screenshot of how messed up unicode shows in Chrome and its DOM inspector, so this is how a Gambit console window could look. In itself not too bad.</span><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I would primarily suggest that a command line option would be added that configures the escaping e.g. -:E  , -:E127 (or maybe -:T127 for terminal and -:F127 for files).</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Secondarily I would suggest reverting lib/_io.scm:13119 back to (##integer->char 127) i.e. escape all >127 again, as at least I find this to be really more a "safe by default" behavior.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Anyone else has any thoughts on this topic?</div></div><div><br></div><div><br></div><div><div class="gmail_quote"><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-31 1:24 GMT+05:30 Adam <span dir="ltr"><<a href="mailto:adam.mlmb@gmail.com" target="_blank">adam.mlmb@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2015-05-31 1:11 GMT+05:30 Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><br>
> On May 30, 2015, at 3:26 PM, Adam <<a href="mailto:adam.mlmb@gmail.com" target="_blank">adam.mlmb@gmail.com</a>> wrote:<br>
><br>
> Marc, what do those who want preserve the escaping of >=128 do (independent of which terminal encoding is used but for instance with -:t8)?<br>
><br>
<br>
</span><span>  (output-port-readtable-set!<br>
    (repl-output-port)<br>
    (readtable-max-unescaped-char-set<br>
      (output-port-readtable (repl-output-port))<br>
</span>      (integer->char 127)))<br>
<br>
In your Scheme program or gambcini file.<br></blockquote><div><br></div></div></div><div>Ouch;</div><div><br></div><div><br></div><div>What's your take now on what you said yesterday as quoted in <a href="https://mercure.iro.umontreal.ca/pipermail/gambit-list/2015-May/007914.html" target="_blank">https://mercure.iro.umontreal.ca/pipermail/gambit-list/2015-May/007914.html</a> , and the other reflections on this topic there?</div><div><br></div></div></div></div>
</blockquote></div><br></div></div></div>