Re: Accents bug ?

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Denis Bucher'" <dbucher(at)niftycom(dot)com>, "'PGSQL-JDBC'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Accents bug ?
Date: 2001-10-02 00:09:45
Message-ID: 000a01c14ad6$8b48b7e0$8201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Denis,

It sounds like an encoding problem. You can check the encoding of the db
by using \encoding in psql.

There is a section in the docs on this
http://www.postgresql.org/idocs/index.php?multibyte.html

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Denis Bucher
Sent: October 1, 2001 4:42 PM
To: PGSQL-JDBC
Subject: [JDBC] Accents bug ?

Hello !

BIG problem ;-)

When INSERTing a value like "Genève" it works, but when doing a SELECT
the
fields
are troncated when containing acents :

"Genève" is received as "Gen"
"Thé froid" as "Th"
"Hosomaki végétarien" as "Hosomaki v"
and so on ...

Does someone knows if it is a but in the driver or another problem ?

Thanks alot in advance for any help :-)

Denis Bucher
NiftyCom

P.S. Using latest version of JDBC, Java and postgresql 7.1

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2001-10-02 03:06:31 Re: TIMESTAMP
Previous Message Thomas O'Dowd 2001-10-01 23:51:41 Re: TIMESTAMP