[erlang-questions] Unexpected list_to_binary behavior

Pierre Fenoll <>
Tue Mar 18 14:19:05 CET 2014

Also happening here on R16B03-1. (Displayed string is due to +pc unicode)

9> list_to_binary( lists:seq(255,256) ).
** exception error: bad argument
     in function  list_to_binary/1
        called as list_to_binary("ÿĀ")

Pierre Fenoll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140318/96c4673b/attachment.html>

More information about the erlang-questions mailing list