[postgis-devel] [PostGIS] #203: shp2pgsql does not correctly encode control characters

PostGIS trac at osgeo.org
Mon Jun 22 12:07:32 PDT 2009


#203: shp2pgsql does not correctly encode control characters
-----------------------+----------------------------------------------------
 Reporter:  dfuhriman  |       Owner:  pramsey
     Type:  defect     |      Status:  new    
 Priority:  medium     |   Milestone:         
Component:  postgis    |     Version:         
 Keywords:             |  
-----------------------+----------------------------------------------------
 When using the -D option to shp2pgsql, any dbf fields that contain
 embedded newlines or carriage returns are not handled correctly.  These
 fields need to be converted to \r and \n, respectively, or postgres will
 not accept them.

 The attached patch fixes this.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/203>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list