[postgis-users] Client encoding error

Milo van der Linden mlinden at zeelandnet.nl
Thu Aug 16 03:43:13 PDT 2007


PostGIS is in UTF-8, the table is in WindowsLatin1. How do I change the
encoding? Is it just a matter of editting the tab file and changing the
string WindowsLatin1 with UTF-8?
Tomas Lanczos schreef:
> Milo van der Linden wrote:
>> Hello list,
>>
>> I am trying to import a MapInfo table into postGIS using ogr2ogr. The
>> import fails with the message: invalid byte sequence for encoding
>> "UTF8": 0xe92057
>>
>> It gives me a hint that I sould set something into client_encoding, but
>> is this ogr2ogr related or postGIS?
>
> I had the same problem few days ago (importing shapefiles to GRASS
> with postgresql). Change the encoding in the attribute tables to UTF-8
> before importing, it helps. It's related to the given encoding of the
> PostgreSQL/Postgis database where are You importing Your table.
>
> Regards
>
> Tomas
>


-- 


	

Milo van der Linden
skype: milovanderlinden <skype:milovanderlinden?add>
mlinden at zeelandnet.nl <mailto:mlinden at zeelandnet.nl>
milovanderlinden at gmail.com <mailto:milovanderlinden at gmail.com>
milo at 3dsite.nl <mailto:milo at 3dsite.nl>
http://www.3dsite.nl

	  	

De informatie in dit bericht reflecteert mijn persoonlijke mening en
niet die van een bedrijf of instantie. Aan de informatie kunnen geen
rechten worden ontleend. Indien dit bericht onderdeel is van een forum,
mailing-list of community dan gelden automatisch de bij het betreffende
medium behorende voorwaarden. The information in this message reflects
my personal opinion and not that of a company or public body. All rights
reserved.If this message is contained in a mailing-list or community,
the rights on the medium are automatically adapted.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070816/6242cf00/attachment.html>


More information about the postgis-users mailing list