Re: UTF16 surrogate pairs in UTF8 encoding

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: UTF16 surrogate pairs in UTF8 encoding
Date: 2010-09-07 18:54:47
Message-ID: 1283885687.2517.11.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On sön, 2010-08-22 at 15:15 -0400, Tom Lane wrote:
> > We combine the surrogate pair components to a single code point and
> > encode that in UTF-8. We don't encode the components separately;
> that
> > would be wrong.
>
> Oh, OK. Should the docs make that a bit clearer?

Done.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2010-09-07 19:41:51 Re: "Freezing" per-role settings
Previous Message Sergey Konoplev 2010-09-07 18:39:33 Re: function_name.parameter_name