Re: Accents bug ?

Поиск
Список
Период
Сортировка
От Denis Bucher
Тема Re: Accents bug ?
Дата
Msg-id 5.1.0.14.0.20011002113650.02384460@mail.niftycom.com
обсуждение исходный текст
Ответ на Re: Accents bug ?  ("Dave Cramer" <Dave@micro-automation.net>)
Список pgsql-jdbc
At 20:09 01.10.01 -0400, you wrote:

Hello !

>It sounds like an encoding problem. You can check the encoding of the db
>by using \encoding in psql.
>
>There is a section in the docs on this
>http://www.postgresql.org/idocs/index.php?multibyte.html

Yes I read it, but it didn't help me much, I also tryed this :

postgres@sashimi:~$ psql -l ekai
         List of databases
  Database  |  Owner   | Encoding
-----------+----------+-----------
  ekai      | postgres | UNICODE
  template0 | postgres | SQL_ASCII
  template1 | postgres | SQL_ASCII
(6 rows)

The problem is with database ekai... Accents, once again are ok in INSERT
but not in SELECT, and only with JDBC, not with psql (psql works perfectly).

Denis Bucher
NiftyCom

>-----Original Message-----
>From: pgsql-jdbc-owner@postgresql.org
>[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Denis Bucher
>Sent: October 1, 2001 4:42 PM
>To: PGSQL-JDBC
>Subject: [JDBC] Accents bug ?

...

>When INSERTing a value like "Genève" it works, but when doing a SELECT
>the
>fields
>are troncated when containing acents :
>
>"Genève" is received as "Gen"
>"Thé froid" as "Th"
>"Hosomaki végétarien" as "Hosomaki v"
>and so on ...


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

Предыдущее
От: "Dave Cramer"
Дата:
Сообщение: Re: Accents bug ?
Следующее
От: Rene Pijlman
Дата:
Сообщение: Re: Accents bug ?