<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 29/11/2019 à 12:10, Stéphane
      Mottelet a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:da7c06ba-c9e0-d548-b1a7-7ae5df11d814@utc.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hello,</p>
      <p>Altough I am the author or this patch, I find this may be a bit
        too early to make the hypothesis that Scilab would be
        systematically launched in an environment that allows Unicode
        chars. </p>
    </blockquote>
    <p>This hypothesis is not needed to go on with Unicode in terminal
      modes and improve things about this. On windows,  including the
      code page setting in the Scilab binary as proposed by Antoine is a
      first interesting and required step.<br>
    </p>
    <blockquote type="cite"
      cite="mid:da7c06ba-c9e0-d548-b1a7-7ae5df11d814@utc.fr">
      <p>This could be, at least, a rendering option (BTW we need an
        unified way of customizing display in the preferences tab).
      </p>
    </blockquote>
    <br>
    <p>Allowing and even using an UTF-8 font in Scilab NW and NWNI modes
      should not be an option. It should be the default.<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:da7c06ba-c9e0-d548-b1a7-7ae5df11d814@utc.fr">
      <p> However, using a one line display seems an improvement to me,
        it allows a much better rendering of polynomials and rationals
        (see <a class="moz-txt-link-freetext"
          href="https://codereview.scilab.org/#/c/21142/"
          moz-do-not-send="true">https://codereview.scilab.org/#/c/21142/</a>).
      </p>
    </blockquote>
    <p>Because exponents are really too small, and because the console
      can't be zoomed interactively with a shortkey and the mouse wheel,
      in term of readability, the current status is clearly the best:</p>
    <p><tt>--> (1-%z).^(0:4)</tt><tt><br>
      </tt><tt> ans  =</tt><tt><br>
      </tt><tt>                      2            2   3            2   
        3   4</tt><tt><br>
      </tt><tt>   1   1 -z   1 -2z +z    1 -3z +3z  -z    1 -4z +6z 
        -4z  +z </tt><tt><br>
      </tt><br>
    </p>
    <p>In term of compacity, indeed using Unicode exponents is a good
      idea. Unfortunately, with some fonts like Consolas, all exponents
      are so small wrt to the base font size that i use to use that some
      of them  become hardly distinguishable.</p>
    <p><font size="-1" face="Consolas">--> (1-%z).^(0:4)<br>
         ans  =<br>
           1   1 -z   1 -2z +z²   1 -3z +3z² -z³   1 -4z +6z² -4z³ +z⁴<br>
      </font><br>
    </p>
    <p>But this can be worked around by increasing the font size (from
      Monospaced 14 to 16, for me).</p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:da7c06ba-c9e0-d548-b1a7-7ae5df11d814@utc.fr">
      <p>Maybe a intermediary step would be to use a hat notation, e.g.
        <br>
      </p>
      <p>--> p=(1+%i+%s)^7 <br>
      </p>
      <p> p = 8-8i -56is -(84+84i)s^2 -140s^3 -(70-70i)s^4 +42is^5
        +(7+7i)s^6 +s^7 <br>
      </p>
    </blockquote>
    <p><br>
    </p>
    <p>Definitively not. It turns crowdy. Keeping the current 2-line
      display would be better, even if it's less compact vertically.<br>
    </p>
    Regards<br>
  </body>
</html>