<div dir="ltr">I don't think that is desired.<div>Start erlang with +pc unicode</div><div><br></div><div>do a lists:seq(300,10000) ..</div><div><br></div><div>// Björn-Egil</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-02-21 14:05 GMT+01:00 Vlad Dumitrescu <span dir="ltr"><<a href="mailto:vladdu55@gmail.com" target="_blank">vladdu55@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi!<div><br></div><div>I'm not sure if I misunderstood something or if there is a problem in 17.0-rc1, but starting a shell normally gives</div><div><br></div><div><div><font face="courier new, monospace">Erlang/OTP 17 [RELEASE CANDIDATE 1] [erts-6.0] [smp:4:4] [async-threads:10]<br>
</font></div><div><font face="courier new, monospace">Eshell V6.0 (abort with ^G)<br></font></div><div><font face="courier new, monospace">1> "Ȇ".</font></div><div><font face="courier new, monospace">[518]</font></div>
<div><font face="courier new, monospace">2> erl_scan:string("\"Ȇ\"").</font></div><div><font face="courier new, monospace">{ok,[{string,1,[518]}],1}</font></div><div><font face="courier new, monospace">3> lists:keyfind(encoding, 1, io:getopts()).</font></div>
<div><font face="courier new, monospace">{encoding,unicode}</font></div><div><font face="courier new, monospace">4> $Ȇ.</font></div><div><font face="courier new, monospace">518</font></div><div><br></div><div>while starting with "+pc unicode" gives the expected (for me) result.</div>
<div><br></div><div><font face="courier new, monospace">Erlang/OTP 17 [RELEASE CANDIDATE 1] [erts-6.0] [smp:4:4] [async-threads:10]<br></font></div></div><div><div><font face="courier new, monospace">Eshell V6.0 (abort with ^G)<br>
</font></div><div><font face="courier new, monospace">1> "Ȇ".</font></div><div><font face="courier new, monospace">"Ȇ"</font></div><div><font face="courier new, monospace">2> erl_scan:string("\"Ȇ\"").<br>
</font></div><div><font face="courier new, monospace">{ok,[{string,1,"Ȇ"}],1}</font></div><div><font face="courier new, monospace">3> </font></div><div><font face="courier new, monospace">3> lists:keyfind(encoding, 1, io:getopts()).</font></div>
<div><font face="courier new, monospace">{encoding,unicode}</font></div><div><font face="courier new, monospace">4> $Ȇ.</font></div><div><font face="courier new, monospace">518</font></div><div><br></div></div><div>Isn't 17.0 supposed to have the unicode support as default even in this context?</div>
<div><br></div><div>regards,</div><div>Vlad</div><div><br></div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>