Re: [postgis-users] Client encoding error

lanczos at t-zones.sk lanczos at t-zones.sk
Thu Aug 16 03:47:39 PDT 2007


What OS are You using? Linux, Windows, Apple ....?

Tomas

Milo van der Linden wrote:
> 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
>>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



--


More information about the postgis-users mailing list