« Return to Thread: json_to_term EEP

Re: json_to_term EEP

by Richard O'Keefe :: Rate this Message:

Reply to Author | View in Thread


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.






_______________________________________________
erlang-questions mailing list
erlang-questions@...
http://www.erlang.org/mailman/listinfo/erlang-questions

 « Return to Thread: json_to_term EEP