Re: ? (question mark) characters

Поиск
Список
Период
Сортировка
От Ricardo Pardini
Тема Re: ? (question mark) characters
Дата
Msg-id 200108301401.f7UE1Vf29010@postgresql.org
обсуждение исходный текст
Ответ на RE: ? (question mark) characters  ("Rene Pijlman" <rene@lab.applinet.nl>)
Ответы Re: ? (question mark) characters
Список pgsql-jdbc
Thank you all for your help:

Dia Thursday, 30 de August, 2001 10:42, Rene Pijlman wrote:
> > like áéíóú (aeiou with accent)... they are replaced
> > by question marks (?)... any ideas?
> What's the character encoding of the database?

It doesn't matter. I have tried it with SQL_ASCII, ISO-8859-1, and with an
installation on Solaris which doesn't have encodings ("psql -l" doesnt list
the Encoding field).

Strange thing is, if I use the jdbc7.0-1.2.jar from
http://jdbc.postgresql.org, the special characters work ok. But then I have
the 8k statement limitation problem.

> Are these special characters converted when you store them in
> the database, or when you retrieve them from he database?

They're converted when I insert. I can insert the same characters directly
into psql (into the same table) and it works ok (I can retrieve them without
problems).  I can use LIBPQ apps (PHP, PGACCESS etc) and it works ok with all
backends (running with encodings SQL_ASCII, ISO, etc)...

--
Ricardo Pardini
rpardini@organox.com.br

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

Предыдущее
От: "Rene Pijlman"
Дата:
Сообщение: RE: ? (question mark) characters
Следующее
От: alan@gulfinvest.com.br
Дата:
Сообщение: Dúvida