Re: JSON and unicode surrogate pairs - Mailing list pgsql-hackers

From Noah Misch
Subject Re: JSON and unicode surrogate pairs
Date
Msg-id 20130612011730.GB578390@tornado.leadboat.com
Whole thread Raw
In response to Re: JSON and unicode surrogate pairs  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Tue, Jun 11, 2013 at 08:42:26PM -0400, Andrew Dunstan wrote:
> If we work by analogy to Postgres' own handling of Unicode escapes,  
> we'll raise an error on any Unicode escape beyond ASCII (not on input  
> for legacy reasons, but on trying to process such datums). I gather that  
> would meet your objection.

No objection here; that approach is free from the problem that caught my
attention in the other proposal.

-- 
Noah Misch
EnterpriseDB                                 http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Clean switchover
Next
From: Craig Ringer
Date:
Subject: Re: Adding IEEE 754:2008 decimal floating point and hardware support for it