[postgis-users] Modify encoding of shapefile

Arnaud Lesauvage arnaud.lesauvage at supermail.fr
Tue May 29 05:54:42 PDT 2007


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

I am not sure this is the same problem.
It looks like your file is in codepage 1252 but your client encoding is set to UNICODE.
Doesn't "SET client_encoding TO WIN1252;" help in your case ?

Regards
--
Arnaud



More information about the postgis-users mailing list