[postgis-users] Client encoding error

Tomas Lanczos lanczos at t-zones.sk
Thu Aug 16 03:38:27 PDT 2007


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



More information about the postgis-users mailing list