[erlang-questions] Json for Erlang?
Mike Shaver
mike.shaver@REDACTED
Mon Dec 24 17:21:57 CET 2007
On Dec 24, 2007 10:40 AM, Bob Ippolito <bob@REDACTED> wrote:
> In my experience it's pretty rare for the input encoding to be
> anything but UTF-8 or ASCII. It's normally the client side which is
> the problem, which is why the encoders I've written all spit out ASCII
> with escaped unicode by default.
Indeed, the JSON RFC requires that the encoding be ASCII, with \uXXXX
used for non-ASCII characters in the BMP and a combining sequence for
the rest.
(RFC 4627 S 2.5)
Mike
More information about the erlang-questions
mailing list