pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig Ringer <craig@2ndquadrant.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: PostgreSQL fails to convert decomposed utf-8 to other encodings
Date: Tue, 05 Aug 2014 19:14:35 -0600
Message-ID: <1523.1407287675@sss.pgh.pa.us> (raw)
In-Reply-To: <53E179E1.3060404@2ndquadrant.com>
References: <53E179E1.3060404@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Craig Ringer <craig@2ndquadrant.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <1523.1407287675@sss.pgh.pa.us>
Permalink:  ../1523.1407287675@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1523.1407287675@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, craig@2ndquadrant.com
  Subject: Re: PostgreSQL fails to convert decomposed utf-8 to other encodings
  In-Reply-To: <1523.1407287675@sss.pgh.pa.us>
  References: <53E179E1.3060404@2ndquadrant.com> <1523.1407287675@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox