Re: [GENERAL] Surrogate pairs in UTF-8

2015-01-18 Thread Tom Lane
Martijn van Oosterhout writes: > On Fri, Jan 16, 2015 at 08:16:47AM -0600, Dave Rosckes wrote: >> I have written a test program using postgres that creates a string with a >> surrogate pair. I then insert that string into a varchar property in a >> table. >> >> I then execute a select statement

Re: [GENERAL] Surrogate pairs in UTF-8

2015-01-18 Thread Martijn van Oosterhout
On Fri, Jan 16, 2015 at 08:16:47AM -0600, Dave Rosckes wrote: > I have written a test program using postgres that creates a string with a > surrogate pair. I then insert that string into a varchar property in a > table. > > I then execute a select statement to pull the string out. But when I > e

[GENERAL] Surrogate pairs in UTF-8

2015-01-16 Thread Dave Rosckes
I have written a test program using postgres that creates a string with a surrogate pair. I then insert that string into a varchar property in a table. I then execute a select statement to pull the string out. But when I evaluate the string the lead char of the pair is correct, but the following