| Trying to upload a layer through REST API with Hebrew layer name (דרכים), using the following two requests: HTTP request 1: {{PUT http://daneel:8080/geoserver/rest/workspaces/cite/datastores/%D7%93%D7%A8%D7%9B%D7%99%D7%9D/file.shp?update=overwrite&charset=UTF-8 HTTP/1.1 User-Agent: Mozilla/5.0 (Windows NT x.y; rv:10.0) Gecko/20100101 Firefox/10.0 Content-Type: application/zip Host: daneel:8080 Cookie: JSESSIONID=7xplh4juloqyzpfome7rfqmw Content-Length: 3886297 Expect: 100-continue}} HTTP request 2: {{PUT http://daneel:8080/geoserver/rest/workspaces/cite/datastores/%D7%93%D7%A8%D7%9B%D7%99%D7%9D/featuretypes/%D7%93%D7%A8%D7%9B%D7%99%D7%9D.xml HTTP/1.1 User-Agent: Mozilla/5.0 (Windows NT x.y; rv:10.0) Gecko/20100101 Firefox/10.0 Content-Type: text/xml Host: daneel:8080 Cookie: JSESSIONID=7xplh4juloqyzpfome7rfqmw Content-Length: 405 Expect: 100-continue RESPONSE: <featureType><name>דרכים</name> <title>דרכים</title> <abstract>world borders</abstract> <srs>EPSG:4326</srs> <nativeBoundingBox> <minx>-180.18</minx> <maxx>180.18</maxx> <miny>-90.18</miny> <maxy>83.8035960000001</maxy> </nativeBoundingBox> <nativeCRS class="projected">EPSG:4326</nativeCRS> <projectionPolicy>FORCE_DECLARED</projectionPolicy> <enabled>True</enabled>}} Layer creation works as expected, see the attached image. In the web ui the layer and the layer name is displayed correctly. In the REST API the layer/feature type name is not displayed correctly, see the following two HTTP requests to the REST API: HTTP request 1: {{GET http://daneel:8080/geoserver/rest/workspaces/cite/datastores/%D7%93%D7%A8%D7%9B%D7%99%D7%9D/featuretypes.xml RESPONSE: <featureTypes> <featureType> <name>?????</name> <atom:link rel="alternate" href="" type="application/xml"/> </featureType> </featureTypes>}} HTTP request 2: {{GET http://daneel:8080/geoserver/rest/workspaces/cite/datastores.xml RESPONSE: <dataStores> <dataStore> <name>cities_europe</name> <atom:link rel="alternate" href="" type="application/xml"/> </dataStore> <dataStore> <name>?????</name> <atom:link rel="alternate" href="" type="application/xml"/> </dataStore> </dataStores>}} |