Re: PostgreSQL fails to convert decomposed utf-8 to other encodings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: PostgreSQL fails to convert decomposed utf-8 to other encodings
Date: 2014-08-06 01:14:35
Message-ID: 1523.1407287675@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Craig Ringer <craig(at)2ndquadrant(dot)com> writes:
> There's a bug in encoding conversions from utf-8 to other encodings that
> results in corrupt output if decomposed utf-8 is used.

We don't actually support "decomposed" utf8; if there is any bug here,
it's that the input you show isn't rejected. But I think there was
some intentional choice to not check \u escapes fully.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Geoghegan 2014-08-06 01:33:46 Re:
Previous Message Craig Ringer 2014-08-06 00:42:09 PostgreSQL fails to convert decomposed utf-8 to other encodings