Nhan Vo, I think you are not only correct but have located the culprit. I was able to reproduce the problem for both "ü*" and "Ü*" if I run GeoServer with -Dfile.encoding=ISO-8859-15 and try the two links you provided earlier. I have documented this failure and how to reproduce it in a Jira issue: https://osgeo-org.atlassian.net/browse/GEOS-7385
I was so pleased by your detailed report that I wrote a unit test to demonstrate the failure and also a fix, which I have submitted in this pull request: https://github.com/geoserver/geoserver/pull/1446 Note that, even with this fix, platforms using a non-UTF-8 default charset will not be able to support characters outside their charset in a WFS KVP Filter. Kind regards, Ben. On 22/01/16 22:04, Nhan Vo wrote: > Hi Ben, > > Thanks again for the response. Under my Geoserver's Settings/Global/Character > Set the value is UTF-8 but I still I had the parsing problem with "Ü". Then I > restart my server adding -Dfile.encoding=UTF-8 to Java options the problem > goes > away. Perhaps somewhere in the code the Parser was constructed without > explicitly specifying an encoding. I post the stack trace here just in case it > could help locate the culprit. > > Unable to parse filter: <fes:Filter > xmlns:fes="http://www.opengis.net/fes/2.0"><fes:PropertyIsLike wildCard="*" > singleChar="#" > escapeChar="!"><fes:ValueReference>topp:STATE_NAME</fes:ValueReference><fes:Literal>�?*</fes:Literal></fes:PropertyIsLike></fes:Filter> > com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: > Ung�ltiges Byte 2 von 2-Byte-UTF-8-Sequenz. at [...] > org.geoserver.wfs.kvp.FilterKvpParser.parse(FilterKvpParser.java:84) -- Ben Caradoc-Davies <[email protected]> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
