I took a quick look at EEP-10 and there seems to be no mention of how Unicode atoms would be represented, or if they would be at all. Currently I have my terminal settings to Latin-1 so I get what Ulf gets. <br><br>EEP-10 has unicode lists stored as UTF-32, but does not mention how lists will be output to the terminal from the interactive shell. I would favour a UTF-8 output. For consistancy though, I think that the shell should also convert atoms to UTF-8, even if they are stored as Latin-1. If this was the case, list_to_atom([255]) would show ÿ properly with my terminal set to UTF-8. The shell would be responsible for converting Latin-1(FF) to UTF-8(C3 BF). Having the interactive shell output all terms consistantly as UTF-8 would allow me to set my terminal to UTF-8 and everything would display correctly.<br>
<br>Any thoughts?<br><br><div class="gmail_quote">2008/10/22 Matthew Dempsky <span dir="ltr"><<a href="mailto:matthew@dempsky.org">matthew@dempsky.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, Oct 22, 2008 at 11:36 AM, Ulf Wiger <<a href="mailto:ulf@wiger.net">ulf@wiger.net</a>> wrote:<br>
> I think that has to do with your tty settings. For me it's:<br>
<br>
</div>I think the emphasis was on atoms being arbitrary strings.<br>
<div class="Ih2E3d"><br>
> 11> list_to_atom([255]).<br>
> ÿ<br>
<br>
</div>Your terminal is broken. It's using ISO 8859-1 when it should be<br>
using UTF-8. ;-)<br>
<div><div></div><div class="Wj3C7c">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>