[erlang-questions] json_to_term EEP

Richard A. O'Keefe ok@REDACTED
Fri Aug 1 02:20:13 CEST 2008


On 1 Aug 2008, at 11:16 am, David Mercer wrote:

> I notice keys and values are stored as binaries rather than lists of  
> Unicode
> code points (Erlang "strings").  Won't this result in different keys  
> and
> values for the same JSON object encoded in UTF-8 vs. UTF-16?

No it won't.  The EEP *specifically* says that the binaries
will *always* use UTF-8, whatever the source or destination
encoding.

There is a 4th draft which is sitting waiting for moderator
approval before going out to the mailing list, because it is
44kB.  But this was already in the 1st draft.









More information about the erlang-questions mailing list