[postgis-users] Tools to change the encoding of the SHP/DBF files (from Latin1 to UTF-8)

Mac Wind macwind2 at gmail.com
Tue May 8 05:56:28 PDT 2012


Hi.

Using PostGIS 1.5 on Windows, I get this error message when trying to
import a SHP:
----------------
Unable to convert data value to UTF-8 (iconv reports "Invalid argument").
Current encoding is "UTF-8". Try "LATIN1" (Western European), or one of the
values described at
http://www.postgresql.org/docs/current/static/multibyte.html.
----------------

Really my data are in Latin1 encoding, but I don't want to change the
encoding of the DataBase into Latin1, but change the encoding of the SHP
(in fact, of the DBF) into UTF-8.

Which tool could I use to do this? Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120508/08b8097b/attachment.html>


More information about the postgis-users mailing list