[erlang-patches] Patch to add atom_to_binary, binary_to_atom, and binary_to_existing_atom

Bjorn Gustavsson <>
Wed Nov 19 16:24:55 CET 2008

On Wed, Nov 19, 2008 at 3:26 PM, Tony Finch <> wrote:
> On Wed, 19 Nov 2008, Bjorn Gustavsson wrote:
>> Since we plan to support Unicode in R13, we also plan to support Unicode
>> characters in atoms. Therefore, we plan to implement binary_to_atom/1 so
>> that it only accepts binaries containing valid UTF-8 sequences. (We'll
>> also extend list_to_atom/1 so that the list is allowed to contain
>> Unicode characters.)
> Will lists use UTF-8, or will they have one unicode code point per list
> element?

Lists will use one Unicode code point per list element. See:



Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-patches mailing list