Re: RE : ? (question mark) characters

From: Rene Pijlman <rene(at)lab(dot)applinet(dot)nl>
To: Barry Lind <barry(at)xythos(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: RE : ? (question mark) characters
Date: 2001-09-03 17:31:27
Message-ID: iff7ptcfhh8qse7dkdmfkkem9r6h1377ob@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, 03 Sep 2001 09:49:27 -0700, you wrote:
>Yes this is exactly what the driver does. It asks the server what
>character set is being used for the database. Unfortunatly the server
>only knows about character sets if multibyte support is compiled in. If
>the server is compiled without multibyte, then it always reports to the
>client that the character set is SQL_ASCII (where SQL_ASCII is 7bit
>ascii). Thus if you don't have multibyte enabled on the server you
>can't support 8bit characters through the jdbc driver, unless you
>specifically tell the connection what character set to use (i.e.
>override the default obtained from the server).

Excellent explanation, thanks. This would be great info for the
FAQ. I've seen this issue appear three times or so in the
relatively short time I'm on this list.

Regards,
René Pijlman <rene(at)lab(dot)applinet(dot)nl>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Rene Pijlman 2001-09-03 17:48:54 Re: JAVA vs PERL : PERL wins to postgreSQL
Previous Message Barry Lind 2001-09-03 16:49:27 Re: RE : ? (question mark) characters