Re: COPY FROM encoding error

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: COPY FROM encoding error
Дата
Msg-id FD6D7CC4-0D22-4B16-8B55-1553B87FE0FB@enterprisedb.com
обсуждение исходный текст
Ответ на COPY FROM encoding error  (Arnaud Lesauvage <thewild@freesurf.fr>)
Список pgsql-general
On Nov 21, 2006, at 4:20 AM, Arnaud Lesauvage wrote:
> ERROR: invalid byte sequence for encoding "UTF8": 0xff
> État SQL :22021
> Astuce : This error can also happen if the byte sequence does not
> match the encoding expected by the server, which is controlled by
> "client_encoding".
> Contexte : COPY mytable, line 592680
>
> I think that the encoding is OK because more than 500.000 lines are
> copied without problem, so there might be just one problematic
> character here.
>
> How can I solve this problem ?

You need to fix the bad character. You can do this manually, or
search the archives for "UTF8 invalid iconv" for another solution.
--
Jim Nasby                               jim.nasby@enterprisedb.com
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)




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

Предыдущее
От: "Jim Nasby"
Дата:
Сообщение: Re: Allowing SYSDATE to Work
Следующее
От: "Jim Nasby"
Дата:
Сообщение: Re: Druid for postgreSQL - can I export my ERD to MS Access?