Ticket #203 (closed defect: fixed)
shp2pgsql does not correctly encode control characters
| Reported by: | dfuhriman | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 1.3.7 |
| Component: | postgis | Version: | 1.3.X |
| Keywords: | Cc: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

