logo       

Re: Coding when open conection: msg#00045

python.db.psycopg.devel

Subject: Re: Coding when open conection

Federico Di Gregorio escribió:
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


??

The database encoding is UTF8 and lc_messages is UTF8.

Do you refer to encode the message file 'postgres.mo' file to UTF8?
I don'kow how to do it.


--
*****************************************
Oswaldo Hernández
oswaldo-aXkDUzFGsCcxAGwisGp4zA@xxxxxxxxxxxxxxxx
*****************************************


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise