Re: character sets and results

Поиск
Список
Период
Сортировка
От Graham Leggett
Тема Re: character sets and results
Дата
Msg-id 3C908B60.BB3E9DA0@sharp.fm
обсуждение исходный текст
Ответ на character sets and results  (Graham Leggett <minfrin@sharp.fm>)
Список 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..."

Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Alaric B Snell
Дата:
Сообщение: Re: character sets and results
Следующее
От: "Marin Dimitrov"
Дата:
Сообщение: Re: [GENERAL] JDBC-Question