Re: character sets and results - Mailing list pgsql-jdbc

From Graham Leggett
Subject Re: character sets and results
Date
Msg-id 3C908B60.BB3E9DA0@sharp.fm
Whole thread Raw
In response to character sets and results  (Graham Leggett <minfrin@sharp.fm>)
List pgsql-jdbc
Alaric B Snell wrote:

> I've found that if you create the database with UNICODE encoding, JDBC 'just
> works' with respect to accented chars - I presume this is thanks to Java
> natively using UTF-8 for strings!
>
> I've not tried this with any characters beyond the range of Latin1, though.

Trouble is the two pieces of code both access the same database - but
one works, and the other doesn't. I cannot seem to figure out why, apart
from the odd connection broker (for which I have no source) used in the
code that works. This is why I assume there is some method during
connection to set the character set - but I cannot find it in the docs.

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

Attachment

pgsql-jdbc by date:

Previous
From: Alaric B Snell
Date:
Subject: Re: character sets and results
Next
From: "Marin Dimitrov"
Date:
Subject: Re: [GENERAL] JDBC-Question