Search Postgresql Archives

Re: problem with importing dbf file into postgresql using navicat on mac OS X

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

 




On May 12, 2008, at 1:28 PM, Mathias Ghys wrote:

Error Message: ERROR: invalid byte sequence for encoding "UTF8": 0xe96f70 HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".

My postgresql database is UTF-8 encoded. With importing I get the following data:

http://server58.dedicatedusa.com/~mathias/mathias/datatypes.tiff

do you guys have any idea what i've been doing wrong and how I could get the *.dbf files into my postgresql database?


I think the problem is that Navicat sets your client connection to UTF-8 but the data you are importing from the file is not UTF-8. Navicat should have a way for you to change your client encoding to match what is in the file. The main problem is you need to know exactly what encoding is being used in the file.

If the dbf file is really broken (invalid sequences no mater how it is encoded) then you'll need to fix that first.


John DeSoi, Ph.D.






[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