[postgis-users] load shapefiles in GB2312

Zhiqiang Zhang zqzhang01 at yahoo.com
Wed Feb 22 02:13:14 PST 2006


For a shapefile in GB2312 encoding, what is the
correct way to load it into postgis db using
shp2pgsql?

The following was attempted but seems to produce a sql
file with all i18n encoded attribute values as blank
string "    ".

shp2pgsql -W GB2312 test roads > roads.sql



More information about the postgis-users mailing list