I use Demo requests Example requests for GeoServer (using the TestServlet).
<wfs:GetFeature service="WFS" version="1.1.0" outputFormat="JSON" xmlns:topp="http://www.openplans.org/topp" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> <wfs:Query typeName="osm_lh:planet_osm_polygon"> <ogc:Filter> <ogc:PropertyIsLike wildCard="*" singleChar="#" escapeChar="!"> <ogc:PropertyName>name</ogc:PropertyName> <ogc:Literal>*停車場*</ogc:Literal> </ogc:PropertyIsLike> </ogc:Filter> </wfs:Query> </wfs:GetFeature> return: {"type":"FeatureCollection","totalFeatures":0,"features":[]} GeoServer log: Request: getFeature service = WFS version = 1.1.0 baseUrl = http://127.0.0.1:8090/geoserver/ query[0]: filter = [ name is like *??????* ] <======HERE !! typeName[0] = {osm_lh}planet_osm_polygon outputFormat = JSON resultType = results 2014-01-27 13:01:00,232 INFO [wfs.json] - about to encode JSON -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Character-encoding-problem-in-WFS-requests-for-GeoServer-1-7-3-tp3828484p5100374.html Sent from the GeoServer - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
