Re: ? (question mark) characters - Mailing list pgsql-jdbc

From Michael Stephenson
Subject Re: ? (question mark) characters
Date
Msg-id Pine.LNX.4.30.0108301432230.381-100000@tirin.openworld.co.uk
Whole thread Raw
In response to ? (question mark) characters  (Ricardo Pardini <rpardini@organox.com.br>)
List pgsql-jdbc
> Ok, I tried all the drivers currently available at http://jdbc.fastcrypt.com.
> They all seem to correct the problem with long (>8k) SQL statements, but
> they're all broken considering Portuguese characters like áéíóú (aeiou with
> accent)... they are replaced by question marks (?)... any ideas? Should I try
> to compile my own drivers? How?
> BTW I am using JDK 1.3 from Sun (Solaris and Linux)...

I suspect the problem is not with the jdbc driver but with the way you
have configured postgres, try building postgres with:

./configure --with-java --enable-multibyte=UNICODE --enable-unicode-conversion

And use initdb with the -E UNICODE option:

initdb -E UNICODE -D [path to data directory]

And see if that works, good luck!

Michael


pgsql-jdbc by date:

Previous
From: Ricardo Pardini
Date:
Subject: ? (question mark) characters
Next
From: "Rene Pijlman"
Date:
Subject: RE: ? (question mark) characters