Re: [COMMITTERS] pgsql: Handle Unicode surrogate pairs correctly when processing JSON.

2013-06-24 Thread Andrew Dunstan
On 06/24/2013 11:50 AM, Bruce Momjian wrote: On Sat, Jun 8, 2013 at 01:21:20PM +, Andrew Dunstan wrote: Handle Unicode surrogate pairs correctly when processing JSON. In 9.2, Unicode escape sequences are not analysed at all other than to make sure that they are in the form \u. But in

Re: [COMMITTERS] pgsql: Handle Unicode surrogate pairs correctly when processing JSON.

2013-06-24 Thread Bruce Momjian
On Sat, Jun 8, 2013 at 01:21:20PM +, Andrew Dunstan wrote: > Handle Unicode surrogate pairs correctly when processing JSON. > > In 9.2, Unicode escape sequences are not analysed at all other than > to make sure that they are in the form \u. But in 9.3 many of the > new operators and funct

[COMMITTERS] pgsql: Handle Unicode surrogate pairs correctly when processing JSON.

2013-06-08 Thread Andrew Dunstan
Handle Unicode surrogate pairs correctly when processing JSON. In 9.2, Unicode escape sequences are not analysed at all other than to make sure that they are in the form \u. But in 9.3 many of the new operators and functions try to turn JSON text values into text in the server encoding, and th