Search Postgresql Archives

Re: COPY FROM encoding error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux