Re: ? (question mark) characters

Поиск
Список
Период
Сортировка
От Michael Stephenson
Тема Re: ? (question mark) characters
Дата
Msg-id Pine.LNX.4.30.0108301432230.381-100000@tirin.openworld.co.uk
обсуждение исходный текст
Ответ на ? (question mark) characters  (Ricardo Pardini <rpardini@organox.com.br>)
Список 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 по дате отправления:

Предыдущее
От: Ricardo Pardini
Дата:
Сообщение: ? (question mark) characters
Следующее
От: "Rene Pijlman"
Дата:
Сообщение: RE: ? (question mark) characters