pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@boutiquenumerique.com>
To: Nicolas Cornu <nicolas.cornu@cyber-developpement.com>
To: pgsql-sql@postgresql.org
Subject: Re: [SQL] Caracter é
Date: Sat, 06 Aug 2005 23:27:39 +0200
Message-ID: <op.su3u8dweth1vuj@localhost> (raw)
In-Reply-To: <42F52480.3090207@cyber-developpement.com>
References: <42F52480.3090207@cyber-developpement.com>


	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
>





Message-ID: <op.su3u8dweth1vuj@localhost>
Permalink:  ../op.su3u8dweth1vuj@localhost/
Also on:    postgresql.org/message-id/op.su3u8dweth1vuj@localhost

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: lists@boutiquenumerique.com, nicolas.cornu@cyber-developpement.com
  Subject: Re: [SQL] Caracter é
  In-Reply-To: <op.su3u8dweth1vuj@localhost>

* 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