final ShpDataSource pDR = new ShpDataSource(path,Charset.forName("GBK"));
//System.out.print(Charset.defaultCharset());
GeoDataAdapter pDA = new GeoDataAdapter(pDR);
FeatureCollection fc = pDA.createFeatureList();
fc.each(new VisitAction(){
@Override
public void execute(Feature obj) {
ShapeFeature shp = (ShapeFeature)obj;
Object[] data=pDR.data(shp.getId());
shp.setValues(data);