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

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: problem with importing dbf file into postgresql using navicat on mac OS X
Дата
Msg-id 26ECB182-CE12-42CE-830B-81E0A6F2FF4D@pgedit.com
обсуждение исходный текст
Ответ на problem with importing dbf file into postgresql using navicat on mac OS X  (Mathias Ghys <mathias.ghys@telenet.be>)
Список pgsql-general
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.





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

Предыдущее
От: "A B"
Дата:
Сообщение: Howto return values from a function
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Howto return values from a function