[gdal-dev] Ogr2ogr from Spatialite into PostGIS stops to non-ASCII character

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Jun 13 06:04:11 PDT 2012


On 12-06-13 9:57 AM, Jukka Rahkonen wrote:
> 
> It reads actually in the documentation http://gdal.org/ogr/drv_pg.html
> Giving SET PGCLIENTENCODING=LATIN1 before running ogr2ogr helped. I had tried
> first something that I read from the internet by giving 
> --config PGCLIENTENCODING LATIN1 but it did not work for me. One must not rely
> on everything that is in the web.

Yup that rings a bell.

-jeff




-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the gdal-dev mailing list