Hello everyone:
I import a shapefile in postgis, and then create datasource using postgis.
But when I post a getfeature request and outputformat is json, the return
string which is chinese has messy code. If I post a getfeature request and
outputformat is gml2, the return string is correct.
I use the following way to import shapefile to postgis.
shp2pgsql -W "GB2312" -s 4326 E:\newLine.shp newLine > E:\newLine.sql
psql -d postgis -f E:\newLine.sql postgres
Who can tell me the reason?
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users