Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJqn2-00028J-2t for pgsql-general@arkaria.postgresql.org; Wed, 21 Dec 2016 23:59:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cJqn1-0001UE-J3 for pgsql-general@arkaria.postgresql.org; Wed, 21 Dec 2016 23:59:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cJqkj-0007LO-OX for pgsql-general@postgresql.org; Wed, 21 Dec 2016 23:56:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cJqkc-0003MD-73 for pgsql-general@postgresql.org; Wed, 21 Dec 2016 23:56:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id uBLNuj7t018494; Wed, 21 Dec 2016 18:56:45 -0500 From: Tom Lane To: James Zhou cc: Vick Khera , pgsql-general , Peter Eisentraut Subject: Re: How well does PostgreSQL 9.6.1 support unicode? In-reply-to: References: <20161221.165637.246733544.horiguchi.kyotaro@lab.ntt.co.jp> <19113.1482337898@sss.pgh.pa.us> Comments: In-reply-to James Zhou message dated "Wed, 21 Dec 2016 15:24:09 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18492.1482364605.1@sss.pgh.pa.us> Date: Wed, 21 Dec 2016 18:56:45 -0500 Message-ID: <18493.1482364605@sss.pgh.pa.us> X-Pg-Spam-Score: -5.0 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org James Zhou writes: > The format U&'\03B1' only works for chars between 0000 - FFFF Kyotaro-san already pointed you to the right answer on that: you have to use "\+nnnnnn" for six-digit code points in the U& string syntax. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general