[Mulgara-general] firefox bug and server config

Paul Gearon gearon at ieee.org
Wed Sep 9 02:07:05 UTC 2009


On Tue, Sep 8, 2009 at 9:59 PM, Paul Gearon <gearon at ieee.org> wrote:
> 2. The JSON spec does not describe any way to handle unicode
> characters that do not fit into 16 bits.

I just went to RFC 4627 instead of json.org, and there IS a way to
encode characters outside of the basic multilinguale plane (that's the
technical term for anything larger than U+FFFF).

The example they cite encodes the G clef character (U+1D11E) as
"\uD834\uDD1E". This is known as using a "surrogate pair".

Unfortunately, it takes some bit tweaking to get this right, so I'd
better take a look at it.

Regards,
Paul Gearon



More information about the Mulgara-general mailing list