geoserver显示shapefile中汉字呈乱码问题的可选解决方案


版本:geoserver1.3a

找呀找呀,才发现是geotools的问题,其shapefile读取模块不能选择dbf文件的编码.

解决方案如下:
(1) 网上给的方案
shapefile optional parameters
DbaseFileReader vs non-ISO-8859-1 charsets

(2)用excel编辑dbf文件,把中文去掉,嘿嘿,比较损

(3)shp->postgis,把数据源换成postgresql/postgis
posted @ 2006-04-15 00:38  xiaotie  阅读(3049)  评论(3编辑  收藏  举报