Re: JDBC and Accents - Mailing list pgsql-general

From Marko Kreen
Subject Re: JDBC and Accents
Date
Msg-id 20010427153245.B30250@l-t.ee
Whole thread Raw
In response to Re: JDBC and Accents  (Loïc Courtois <lcourtois@netpartage.fr>)
List pgsql-general
On Fri, Apr 27, 2001 at 02:36:21PM +0200, Loïc Courtois wrote:
> > On Fri, Apr 27, 2001 at 01:56:38AM +0200, Loïc Courtois wrote:
> > > Hello,
> > >
> > > I have some problems to display the accents in my db, using the JDBC and
> > > postgres 7.1.
> > >
> > > Apparently, all accents are replaced by a '?'.
> >
> > What is your database encoding?
> >
> > You can insert whatever stuff you want into db and
> > psql displays it fine - it does not care what it is.

> My database encoding is SQL_ASCII...
>
> Is there any temporary solutions, or may a convert the db in an other
> encoding?

Correct solutions is really dump database, create db with right
encoding and restore.

But for temporary solution ;) you could use PostgreSQL 7.0
JDBC driver, which does not support those db encodings...


--
marko


pgsql-general by date:

Previous
From: Stefan Karrmann
Date:
Subject: starting personal postmaster
Next
From: "Rod Taylor"
Date:
Subject: Re: last comma inside "CREATE TABLE ()" statements