X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 61D2652B80 for ; Sat, 6 Aug 2005 18:27:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 85921-04 for ; Sat, 6 Aug 2005 21:27:40 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id 47E2B52CB6 for ; Sat, 6 Aug 2005 18:27:39 -0300 (ADT) Received: (qmail 20706 invoked from network); 6 Aug 2005 23:27:51 +0200 Received: from unknown (HELO localhost) (boutiquenumerique-lists@192.168.0.4) by boutiquenumerique.com with SMTP; 6 Aug 2005 23:27:51 +0200 Date: Sat, 06 Aug 2005 23:27:39 +0200 To: "Nicolas Cornu" , pgsql-sql@postgresql.org Subject: Re: =?iso-8859-15?Q?=5BSQL=5D_Caracter_=E9?= References: <42F52480.3090207@cyber-developpement.com> From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <42F52480.3090207@cyber-developpement.com> User-Agent: Opera M2/8.0 (Linux, build 1095) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200508/34 X-Sequence-Number: 22262 Hello, This is probably a character encoding issue ; try issuing a SET client_encoding TO whatever encoding you're using ; it is possible that your connection through PHP defaults to SQL_ASCII in which "é" is illegal (mine did). Or, check your browser, form etc. encoding to make sure some Unicode doesn't get mixed up with some non-Unicode stuff. Note that I tried PEAR::DB and found it to be, literally, a piece of junk (sorry, no other words). > I compiled Postgresql 8 on my server and installed it > I am trying to insert a string using php and PEAR::DB > > The string contain: é and this cause > $db-query to fail with an Unkown error as error message. > > If i insert the data using pgAdminIII the string is inserted into the > table. > > I don't think it is Postgres related, do i need to ask to PEAR::DB team ? > > Thanks in adavance, > > CN > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >