[postgis-tickets] [PostGIS] #3268: pgsql2shp: wrong ldid in dbf

PostGIS trac at osgeo.org
Sat Aug 29 12:11:34 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
 Keywords:  pgsql2shp  |
-----------------------+---------------------------
 I have a database with ENCODING = 'UTF8' LC_COLLATE =
 'German_Germany.1252' LC_CTYPE = 'German_Germany.1252'. When I export a
 table with pgsql2shp, the dbf file contains text attributes encoded in
 UTF-8, which is fine. But the language identifier (ldid byte at position
 29 of the dbf) is set to 0x57, meaning codepage 1252 ANSI.
 I tried pgsql2shp in Windows 8, both as subprocess call in python 3 and at
 the command line. pgsql2shp RELEASE: 2.1.5 (r13152).

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3268>
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