Re: JDBC Latin1 problem

From: smota <samuelmota(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC Latin1 problem
Date: 2004-08-04 19:01:10
Message-ID: a8bb739d040804120175de6c27@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

How are you outputing this data?

Velocity, JSP and others "template processors" allow you to specify
the character set, make sure it's set for a compatible one (usually
ISO-8859-1).

You can set the LC_ALL environment variable to pt_BR.ISO8859-1 (of
course you can switch pt_BR for your locale code) and then start your
AS.
(for me this was the solution, setting all character set processing
options on Webwork and Velocity was not enough).

Regards,

Samuel

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-08-04 19:35:38 Re: Wrong column names in ResultSetMetaData
Previous Message Kris Jurka 2004-08-04 18:47:22 Re: postgres and Jdbc 2.0