Re: UTF encoding error

From: Fernando Nasser <fnasser(at)redhat(dot)com>
To: Felipe Schnack <felipes(at)ritterdosreis(dot)br>
Cc: pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: UTF encoding error
Date: 2002-12-04 19:21:34
Message-ID: 3DEE55BE.8040907@redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Felipe Schnack 2002-12-04 19:24:35 Re: UTF encoding error
Previous Message SZUCS Gábor 2002-12-04 19:20:17 Re: Efficient Boolean Storage

Browse pgsql-jdbc by date

  From Date Subject
Next Message Felipe Schnack 2002-12-04 19:24:35 Re: UTF encoding error
Previous Message Warren Little 2002-12-04 19:12:04 SocketClosedException