|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
linux server special characters in getfeature requestHi,
I make a getfeature request with filters where some values in the filters are set by reading the value of an input field on the page. If the request contains special characters like 'ö', 'ü', 'ä' etc. the request is not working. It seems to be a problem with character encoding. I did the following: - on the webpage: <?xml version="2.0" encoding="utf-8"?> ... <head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">.... - Apache: AddDefaultCharset UTF-8 - Tomcat server.xml <Connector ...URIEncoding="UTF-8" But still the request with special characters doesn't work (on a windows machine it is working...). When I make a request using e.g. "rüti" as a keyword the Tomcat logfile shows that the word is interpreted as following in the get request: rüti Is there another setting I have to make so that special characters are interpreted correctly? Many thanks! Best regards Marco ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Geoserver-users mailing list Geoserver-users@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
|
Re: linux server special characters in getfeature requestmbusarel@... ha scritto:
> Hi, > > I make a getfeature request with filters where some values in the > filters are set by reading the value of an input field on the page. > If the request contains special characters like 'ö', 'ü', 'ä' etc. > the request is not working. > > It seems to be a problem with character encoding. I did the > following: > > - on the webpage: <?xml version="2.0" encoding="utf-8"?> ... > <head><meta http-equiv="content-type" content="text/html; > charset=ISO-8859-1">.... - Apache: AddDefaultCharset UTF-8 - Tomcat > server.xml <Connector ...URIEncoding="UTF-8" > > But still the request with special characters doesn't work (on a > windows machine it is working...). How are you making the requests? Are we talking about GET or POST requests? If GET requests, were the special characters properly URL-encoded? Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geoserver-users mailing list Geoserver-users@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
| Free embeddable forum powered by Nabble | Forum Help |