[postgis-users] pgsql2shp dbf file encoding

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Mon Oct 25 09:57:51 PDT 2010


Denis Rykov wrote:

> I don't quite understand why pgsql2shp is writing this encoding to our 
> shapes, our database is in UTF-8 and we never use win1252

Well pgsql2shp has never contained any code to set the encoding field 
(mainly because until recently the version of shapelib included with 
PostGIS didn't support the encoding field), so I guess WIN1252 must be 
the shapelib default.


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the postgis-users mailing list