Ticket #203 (closed defect: fixed)
shp2pgsql does not correctly encode control characters
|Reported by:||dfuhriman||Owned by:||pramsey|
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.