X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E4A159DC940 for ; Tue, 13 Dec 2005 23:40:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38572-06 for ; Tue, 13 Dec 2005 23:40:14 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 9B8739DC93F for ; Tue, 13 Dec 2005 23:40:07 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jBE3eC4V012250; Tue, 13 Dec 2005 22:40:12 -0500 (EST) To: Ulrich Wisser cc: pgsql-admin@postgresql.org Subject: Re: encoding error In-reply-to: <439F371E.6030706@publisher.de> References: <439F371E.6030706@publisher.de> Comments: In-reply-to Ulrich Wisser message dated "Tue, 13 Dec 2005 22:03:26 +0100" Date: Tue, 13 Dec 2005 22:40:12 -0500 Message-ID: <12249.1134531612@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.002 required=5 tests=[AWL=0.002] X-Spam-Score: 0.002 X-Spam-Level: X-Archive-Number: 200512/114 X-Sequence-Number: 19834 Ulrich Wisser writes: > I try to insert some japanese text in my database. But it fails with > duplicate value error, although I use two different values. My database > is set up with UNICODE, and what locale? On what platform? There are a lot of locale definitions out there that fail badly on data that is not encoded per the encoding they expect. regards, tom lane