[postgis-tickets] [PostGIS] #3660: Cannot import shapefile due to encoding problem
PostGIS
trac at osgeo.org
Tue Oct 11 10:48:49 PDT 2016
#3660: Cannot import shapefile due to encoding problem
--------------------------+---------------------------
Reporter: miguelluaces | Owner: strk
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.3.1
Component: liblwgeom | Version: 2.3.x
Keywords: shp2pgsql |
--------------------------+---------------------------
A shapefile that could be imported without problems in shp2pgsql 2.1.7
cannot be imported in shp2pgsql 2.3.0. The execution fails with the
following error:
Unable to convert data value to UTF-8 (iconv reports "Illegal byte
sequence"). Current encoding is "WINDOWS-1252". Try "LATIN1" (Western
European), or one of the values described at
http://www.postgresql.org/docs/current/static/multibyte.html.
The commandline was:
d:\PostgreSQL\9.5\bin\shp2pgsql.exe -W UTF-8 establecimiento.shp
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3660>
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