Re: [INTERFACES] jdbc: v7.1 bug (letter accent)

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Jean-Francois Burdet <Jean-Francois(dot)Burdet(at)adm(dot)unige(dot)ch>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [INTERFACES] jdbc: v7.1 bug (letter accent)
Date: 2001-01-30 09:04:48
Message-ID: 980845488.3a7683b084019@webmail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-jdbc

Quoting Jean-Francois Burdet <Jean-Francois(dot)Burdet(at)adm(dot)unige(dot)ch>:

Redirecting to the jdbc list:

> Hi,
>
> I'm doing some tests to migrate an PG7.0.2 database to an PG7.1beta3.
> This database contains letter with accent from french (like &eacute; in
> HTML or the word café).
>
> When using the postgresql.jar from pg7.0.2, rs.getString("name") gives
> corrects results (like 'café') , but
> when I move to the postgresql.jar compiled from PG7.1beta3 bundle
> letter
> with accent are converted to '?' (like 'caf?') ...
>
> Any one aware of this problem ? (and it's solution ?)

Have you set the database encoding? 7.1 is encoding aware so it's probably
stripping out the accents.

--
Peter Mount peter(at)retep(dot)org(dot)uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter T Mount 2001-01-30 09:11:39 Re: Postgresql and JDBC
Previous Message Joseph Shraibman 2001-01-29 23:57:20 Re: [PATCHES] Re: [INTERFACES] Patch for JDBC timestamp problems

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter T Mount 2001-01-30 09:11:39 Re: Postgresql and JDBC
Previous Message Peter T Mount 2001-01-30 09:02:43 Re: to much process