Re: Bug? Text field is not viewable in a table...

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Bug? Text field is not viewable in a table...
Дата
Msg-id BANLkTi=pR__HGQEw_tCsx2197p6LdUx+_w@mail.gmail.com
обсуждение исходный текст
Ответ на Bug? Text field is not viewable in a table...  (Durumdara <durumdara@gmail.com>)
Список pgadmin-support
On Thu, Apr 14, 2011 at 7:58 AM, Durumdara <durumdara@gmail.com> wrote:
> Dear Developers!
>
> I found some problem in PGAdmin. V1.12.1, PG 9.0, Win7/X64.
> I have a test table with "text" field.
> I fillup this field with chr(1)...chr(255), so it contains 255 characters.
>
> When I try to see this table, I got error:
>
> ERROR:  character 0x81 of encoding "WIN1250" has no equivalent in "UTF8"
>
> ********** Error **********
>
> ERROR: character 0x81 of encoding "WIN1250" has no equivalent in "UTF8"
> SQL state: 22P05

That error comes from PostgreSQL, and is entirely expected if you try
to store non-printable characters in a text column, and then convert
it to UTF-8 (which is what happens when pgAdmin requests data).
PostgreSQL is extremely strict about enforcing the correctness of
unicode data.


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Durumdara
Дата:
Сообщение: Bug? Text field is not viewable in a table...
Следующее
От: Dave Page
Дата:
Сообщение: Re: Bug? Text field is not viewable in a table...