X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id A82F0D1C4E0 for ; Mon, 4 Aug 2003 18:30:53 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 37501-05 for ; Mon, 4 Aug 2003 15:29:37 -0300 (ADT) Received: from orion.venco.com.pl (orion.venco.com.pl [213.186.83.34]) by svr1.postgresql.org (Postfix) with ESMTP id 743B1D1C4BD for ; Mon, 4 Aug 2003 15:30:40 -0300 (ADT) Received: (qmail 21988 invoked by uid 83); 4 Aug 2003 17:30:28 -0000 Received: from dial-5723.wroclaw.dialog.net.pl (HELO venco.com.pl) (62.87.151.91) by orion.venco.com.pl with SMTP; 4 Aug 2003 17:30:26 -0000 Message-ID: <3F2E97CA.2050903@venco.com.pl> Date: Mon, 04 Aug 2003 19:28:42 +0200 From: Daniel Brozek User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: pl MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: unicode and libpq Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/10 X-Sequence-Number: 4364 Hello, How can I put an UNICODE string with characters which code numbers I know, ie. "0x00e9 0x00f1"? When I put that string to SQL query, interpeter stops with the first 0x00 code. Any ideas? I have trying with UNICODE and LATIN2 client_encoding. -- Daniel