Re: ? (question mark) characters

From: Ricardo Pardini <rpardini(at)organox(dot)com(dot)br>
To: "Rene Pijlman" <rene(at)lab(dot)applinet(dot)nl>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: ? (question mark) characters
Date: 2001-08-30 14:06:13
Message-ID: 200108301401.f7UE1Vf29010@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Thank you all for your help:

Dia Thursday, 30 de August, 2001 10:42, Rene Pijlman wrote:
> > like áéíóú (aeiou with accent)... they are replaced
> > by question marks (?)... any ideas?
> What's the character encoding of the database?

It doesn't matter. I have tried it with SQL_ASCII, ISO-8859-1, and with an
installation on Solaris which doesn't have encodings ("psql -l" doesnt list
the Encoding field).

Strange thing is, if I use the jdbc7.0-1.2.jar from
http://jdbc.postgresql.org, the special characters work ok. But then I have
the 8k statement limitation problem.

> Are these special characters converted when you store them in
> the database, or when you retrieve them from he database?

They're converted when I insert. I can insert the same characters directly
into psql (into the same table) and it works ok (I can retrieve them without
problems). I can use LIBPQ apps (PHP, PGACCESS etc) and it works ok with all
backends (running with encodings SQL_ASCII, ISO, etc)...

--
Ricardo Pardini
rpardini(at)organox(dot)com(dot)br

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kovács Péter 2001-08-30 15:07:57 RE: [JDBC] Dúvida
Previous Message Rene Pijlman 2001-08-30 13:42:44 RE: ? (question mark) characters