logo       

Re: Coding when open conection: msg#00017

python.db.psycopg.devel

Subject: Re: Coding when open conection

Il giorno ven, 10/03/2006 alle 11.12 +0100, Oswaldo Hernández ha
scritto:
> Hi all,
>
> I'm new in this list. My name is Oswaldo and my english is bad (sorry).
>
> I have a problem when I try to connect with a bad user or a bad database name:
>
> Server:
> Postgres 8.1 windowsXP
> Database encoding: UTF8
> postgres.conf
> client_encoding UTF8
> lc_messages es_ES

I suppose psycopg is trying to parse as UTF8 the error messages that are
in es_ES.latin9 encoding. Right now I don't understand why this happens
but I'll investigate. Do you have the option to set the messages to
es_ES but with UTF8 encoding?

federico

--
Federico Di Gregorio http://people.initd.org/fog
Debian GNU/Linux Developer
fog-8fiUuRrzOP0dnm+yROfE0A@xxxxxxxxxxxxxxxx
INIT.D Developer
fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx
Abandon the search for Truth; settle for a good fantasy. -- Anonymous

Attachment: signature.asc
Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/psycopg
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise