[postgis-users] Modify encoding of shapefile

Nicolas Ribot nicky666 at gmail.com
Tue May 29 05:48:01 PDT 2007


> Thanks a lot Nicolas, that did the trick !
> I just had to do the opposite of course (iconv -f UTF-8 -t LATIN1).
> I am on Windows, so I had to install gnuwin32 to work with a windows-compiled version of iconv. I recommend this et of linux tools to anyone working on windows !
>

Happy to hear that :-)
I'm facing the same problem right now !! :

CREATE INDEX
ERROR:  invalid byte sequence for encoding "UNICODE": 0xc952
CONTEXT:  COPY routes_hg, line 1, column addr_sn: "P?RIOLES"
ROLLBACK

Will also try the trick to confirm it...

Nicolas



More information about the postgis-users mailing list