[postgis-tickets] [PostGIS] #3268: pgsql2shp: wrong ldid in dbf
PostGIS
trac at osgeo.org
Sat Aug 29 17:06:14 PDT 2015
#3268: pgsql2shp: wrong ldid in dbf
----------------------+---------------------------
Reporter: Redoute | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.9
Component: postgis | Version: 2.1.x
Resolution: | Keywords: pgsql2shp
----------------------+---------------------------
Comment (by pramsey):
It looks like the shape driver just writes that ldid in by default, and
then the libpq library just hauls the data down in the server encoding.
The problem is a little aggravated by GDAL now considering LDID/87 to mean
WIN1252. A partial workaround could be to set your PGCLIENTENCODING
environment variable to WIN1252, so your data at least match your LDID.
Probably we should be setting the LDID to "UTF-8" so that at least GDAL
will interpret the data right (and hence hopefully QGIS too)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3268#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list