<div dir="ltr">Hello OTP team,<div><br></div><div>I am using Erlang 17.0 and I have noticed that, if -noshell is given, the encoding for IO devices are kept as latin:</div><div><br></div><div> $ erl -eval 'io:format("~p", [io:getopts()]).'<br>
</div><div><div> [{expand_fun,#Fun<group.0.100149429>},</div><div> {echo,true},</div><div> {binary,false},</div><div> {encoding,latin1}]</div></div><div><br></div><div>Setting the +fnu flag doesn't change the behaviour:<br>
</div><div><br></div><div><div> $ erl +fnu -eval 'io:format("~p", [io:getopts()]).'<br></div><div><div> [{expand_fun,#Fun<group.0.100149429>},</div><div> {echo,true},</div><div> {binary,false},</div>
<div> {encoding,latin1}]</div></div></div><div><br></div><div>I am pretty sure this behaviour is present in R16, but given the new direction taken in 17.0, I am not sure this is an actual bug or not.</div><div><br></div>
<div>I am using Mac OS X Mountain Lion but this bug was also peer verified on Linux.<br clear="all"><div><div><br></div><div>Thank you!</div><div><br></div><div><span style="font-size:13px"><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b>José Valim</b></span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><div><span style="font-family:verdana,sans-serif;font-size:x-small"><a href="http://www.plataformatec.com.br/" style="color:rgb(42,93,176)" target="_blank">www.plataformatec.com.br</a></span></div>
<div><span style="font-family:verdana,sans-serif;font-size:x-small">Skype: jv.ptec</span></div><div><span style="font-family:verdana,sans-serif;font-size:x-small">Founder and Lead Developer</span></div></span></div></span></div>
</div>
</div></div>