Re: Issue with database Postgresql :(

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Gerard M <gerardo(dot)maldonado(at)gmail(dot)com>
Subject: Re: Issue with database Postgresql :(
Date: 2007-05-09 13:37:44
Message-ID: 200705091537.44783.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Am Dienstag, 8. Mai 2007 19:20 schrieb Gerard M:
> Whenever I try to save a word containing "special" characters in it
> (for example áéíóú) I get the following django error:
> "invalid byte sequence for encoding "UTF8": 0xe92020 HINT: This error
> can also happen if the byte sequence does not match the encoding
> expected by the server, which is controlled by "client_encoding"."
> I know that I need to set something to my database/table but I dont
> know where or how to achieve this,

Set client_encoding to the encoding that your client application is really
producing.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Nagy 2007-05-09 13:40:08 Re: Dangers of fsync = off
Previous Message Bill Moran 2007-05-09 13:32:04 Re: Dangers of fsync = off