Re: UNICODE and JDBC Driver

From: Jim Wright <JimWright(at)quick(dot)cz>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: UNICODE and JDBC Driver
Date: 2003-11-29 01:34:12
Message-ID: 3FC7F794.1040501@quick.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

David Beardsley wrote:

>I'm working on a project where we need to be able to support characters such
>as trademark, copyright and various accents.
>
>Initially our database was created with the SQL character encoding. Data was
>entered using an access database connected by ODBC and everything was fine.
>The characters show correctly in the Access application.
>
>However, the web portion using the JDBC driver cannot display these
>characters and has all sorts of problems. DB Visualizer also complains.
>
>Consequently we dumped the database contents, recreated it with the UNICODE
>character set and restored the contents. Now the database and the JDBC
>driver are both using UNICODE but it still doesn't work.
>
>We're despairing that we'll have to tell our client they can't use extended
>characters. Please tell me this is not the case! Help!!!
>
>
It's not the case ;-)

You mentioned a web portion. You should test without this first.

In order to the get the web portion working you need to establish
or guess HTTP request encodings and set a response encoding
and the browser needs to support it. It's not easy actually.

Regards,

Jim Wright.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2003-11-29 08:27:13 Re: Boolean: DatabaseMetaData.getColumns
Previous Message Nick Fankhauser 2003-11-28 23:04:39 Re: JDBC driver for OSx