Re: UTF encoding error - Mailing list pgsql-jdbc

From Fernando Nasser
Subject Re: UTF encoding error
Date
Msg-id 3DEE55BE.8040907@redhat.com
Whole thread Raw
In response to UTF encoding error  (Felipe Schnack <felipes@ritterdosreis.br>)
Responses Re: UTF encoding error  (Felipe Schnack <felipes@ritterdosreis.br>)
List pgsql-jdbc
Felipe Schnack wrote:>   I was with serious problems with brazilian
portuguese... and I have no
> idea how to tell the postmaster to use pt-br... but now I added
> "&charSet=LATIN1" to my jdbc URLS.. what else I could do?
>

That is a no-op for backends 7.3 on.  What version of PostgreSQL are you using?

It is not the postmaster you must tell which encoding to use.  You must have
specified the encoding when you did the "createdb", with the "-E" option.

Or specify the ENCODING clause when using the SQL "CREATE DATABASE" command.

Abracos,
Fernando



--
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


pgsql-jdbc by date:

Previous
From: Warren Little
Date:
Subject: SocketClosedException
Next
From: Felipe Schnack
Date:
Subject: Re: UTF encoding error