Sent you a gt-wfs jar with a fix for you to try by private email. Please tell whether that fixes you problem so I commit to svn.
Cheers, Gabriel On Mon, Oct 24, 2011 at 6:44 AM, DGIS Devels <webgisdesarro...@gmail.com> wrote: > Anybody knows about it? We are desperate with this problem > > 2011/10/20 DGIS Devels <webgisdesarro...@gmail.com> >> >> Hi, >> We've problems with charset encoding ins WFST transactions using v2.6.5. >> Non-UTF-8 chars (Spanish chars) seems no to be recognized and are embedded >> in the generated xml as '?' >> We found this report bug about it >> http://jira.codehaus.org/browse/GEOT-987 >> but, after update to Geotools 2.8, the problem persists. >> Here are the code and the generated xml for the request. >> WFSDataStoreFactory factory = new WFSDataStoreFactory(); >> Map map = new HashMap (); >> map.put (WFSDataStoreFactory.URL.key, "...."); >> map.put (WFSDataStoreFactory.ENCODING.key, "UTF-8"); >> map.put (WFSDataStoreFactory.ENCODING.CRS, wfsLayerSource.getSrs()); >> WFSDataStore datastore = (WFSDataStore) factory.createDataStore (map); >> SimpleFeatureSource fs >> = dataStore.getFeatureSource(wfsLayerSource.getWfsLayerName()); >> FeatureStore<SimpleFeatureType, SimpleFeature> featStore = >> (FeatureStore<SimpleFeatureType, SimpleFeature>) fs; >> featStore.setTransaction(insert); >> .... >> .... >> .... >> insert.commit(); >> >> <?xml version="1.0" encoding="UTF-8"?> >> <Transaction...> >> <Insert> >> <cite:INSTALACIONES fid="newcite:INSTALACIONES.9223372036854775807"> >> <cite:GID>0.0</cite:GID> >> <cite:EXPED>exp</cite:EXPED> >> <cite:NAME>??????</cite:DS_NAME> >> <cite:GEOM> >> <gml:MultiPolygon srsName="EPSG:23030"> >> ... >> .... >> ... >> NAME must show "áéíóúñ". >> Could be a wrong formatted request? Do you know if the bug still >> persists? >> Thanks in advance >> >> >> >> >> >> > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Geotools-devel mailing list > Geotools-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > > -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel