Re: problems with encoding and accent letters

From: aaaawwww <aaaawwww(at)libero(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: problems with encoding and accent letters
Date: 2010-07-01 21:27:35
Message-ID: b1ba41de-b1b6-4379-96f1-4e4b1a92c7c2@d8g2000yqf.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sorry I forgot to say I am running an Italian php website with a
postgresql DB. Users can write messages eachothers.
This is my code:
$connessione_db = pg_connect("dbname=xxxxx user=yyyyy
password=zzzzzz");
$sql_insert_messaggio="insert into messaggio (text) values ('àèì');";
pg_exec ($connessione_db,$sql_insert_messaggio);

and I get that error. If I do not write messages with accents
everything works.

Is there a way to insert accents with any kind of encoding?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Björn Lindqvist 2010-07-01 22:19:20 Re: Is full-row updates slower than single-value updates
Previous Message Peter Geoghegan 2010-07-01 20:47:45 Re: problems with encoding and accent letters