[postgis-users] encoding

Nicolas Ribot nicolas.ribot at gmail.com
Thu May 6 07:31:38 PDT 2010


> Thanks Ralf,
> I don't understand how to use this.
> pgsql2shp -f myshape mydb -h localhost -P xxxx -u postgres mytable -export
> PGCLIENTENCODING=LATIN1 ????
>
> I'm using PostGIS 1.3.5 on an Windows-System
> Thanks
> Jo
>
>

You have to define an environment variable that will be used by PG
when exporting.

set PGCLIENTENCODING=LATIN1
then execute the plpgsql command

Nicolas



More information about the postgis-users mailing list