Re: Issue with database Postgresql :( - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Issue with database Postgresql :(
Date
Msg-id 200705091537.44783.peter_e@gmx.net
Whole thread Raw
In response to Issue with database Postgresql :(  (Gerard M <gerardo.maldonado@gmail.com>)
Responses Re: Issue with database Postgresql :(
List 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/

pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: Dangers of fsync = off
Next
From: Csaba Nagy
Date:
Subject: Re: Dangers of fsync = off