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

Tony Finch dot@REDACTED
Wed Nov 19 15:26:53 CET 2008


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?

Tony.
-- 
f.anthony.n.finch  <dot@REDACTED>  http://dotat.at/
BISCAY: NORTHERLY 3 OR 4, OCCASIONALLY 5 LATER. MODERATE. RAIN AND DRIZZLE FOR
A TIME. MODERATE OR GOOD, OCCASIONALLY POOR.



More information about the erlang-patches mailing list