[postgis-users] encoding

Ralf Suhr Ralf.Suhr at itc-halle.de
Thu May 6 06:38:34 PDT 2010


Hi Jo,

export PGCLIENTENCODING=LATIN1; pgsql2shp ...

will work

Gr
Ralf

Am Donnerstag 06 Mai 2010 15:30:35 schrieb jj.wag at gmx.de:
> Hi,
> If I try to load a Latin1 Shape to my UTF-8 database there is no Problem to
> convert the encoding:
> shp2pgsql -d -s 31466 -W Latin1 -I myshape mytable | psql -U postgres -d
> mydb
> 
> But if I want to export with pgsql2shp there is no flag to convert the
> encoding from utf-8 to latin1
> With ogr2ogr I have the same problem.
> Any idea?
> 
> Greetings Jo
> 
> _______________________________________________
> 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