character sets and results - Mailing list pgsql-jdbc

From Graham Leggett
Subject character sets and results
Date
Msg-id 3C907E5E.6569AE26@sharp.fm
Whole thread Raw
Responses Re: character sets and results
Re: character sets and results
List pgsql-jdbc
Hi all,

I have been asked to fix a piece of code that submits queries to a
database, and returns string data that could possibly contain characters
with accents.

When the code returns the data (using standard SQL select statements)
the accented characters are replaced with a "?" character.

I have some other code which works correctly using the same select
statements, however in the other code a third party class is being used
to handle the database connections - I assume therefore that the
character sets being used are somehow specified on connection.

I have been trawling the postgresql-jdbc docs some for dome kind of
explanation on how to correctly handle different character sets, however
I have had no luck. Can anyone shed some light? Am I looking in the
right place?

Regards,
Graham
--
-----------------------------------------
minfrin@sharp.fm        "There's a moon
                    over Bourbon Street
                        tonight..."

Attachment

pgsql-jdbc by date:

Previous
From: Auri Mason
Date:
Subject: Re: problems with Tomcat and postgres
Next
From: Alaric B Snell
Date:
Subject: Re: character sets and results