It not bug in elixir, because method []
should return new list as in erlang.
But for symbols with unicode number betwee 32 and 255 it return their representation in Unicode (default setting).
iex(25)> [31]
[31]
iex(26)> [32]
' '
iex(27)> [255]
'ÿ'
iex(28)> [256]
[256]
But when you start erlang with +pc unicode
it decode more symbols:
erl +pc unicode
Erlang R16B (erts-5.10.1) [source] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.10.1 (abort with ^G)
1> [1024].
"Ѐ"
2> [1070,1085,1080,1082,1086,1076].
"Юникод"