[erlang-questions] io format and utf8?
Manuel A. Rubio
bombadil@REDACTED
Wed May 20 13:39:41 CEST 2009
Hi,
El Wednesday 20 May 2009 04:10:53 Davide Marquês escribió:
> 7> list_to_binary("ğüö").
> ** exception error: bad argument
> in function list_to_binary/1
> called as list_to_binary([287,252,246])
binary format only supports 0-255 chars... ğ = 287, and 287 is a not valid
binary elemnt for binary list:
Eshell V5.6.5 (abort with ^G)
1> <<200,199,198>>.
<<"\310\307\306">>
2> <<254,255>>.
<<"\376\377">>
3> <<256>>.
<<0>>
Regards.
--
Manuel A. Rubio "Bombadil"
Usuario de GNU/Linux #323628 acorde a http://counter.li.org/
GPG ID 1C84979D ftp://bosqueviejo.net/pub/bombadil.asc
Técnico en Admin. Sistemas Informáticos
More information about the erlang-questions
mailing list