On Fri, Apr 19, 2013 at 8:28 AM, sores <[email protected]> wrote:

> Hi All,
>
> I am migrating data from Geoserver 1.7.2 to 2.3.0. When I connect a
> specific WMS layer from Geoserver 1.7.2 to Geonetwork, the map viewer
> displays getFeatureInfo response properly. When I connect the same
> layer
> from Geoserver 2.3.0 Geonetwork map viewer fails to show UTF-8
> characters. The reason is probably the HTTP Content-Type in the
> response header.
>
> Geoserver 1.7.2 sends:
> Content-Type: text/plain;charset=UTF-8
>
> Geoserver 2.3.0 sends:
> Content-Type: text/plain
>
> Having no charset declared the Geonetwork client misinterprets the
> encoding and messes up the output.
> Is there any way to make Geoserver 2.3.0 send a complete HTTP header,
> so the client knows that it recieves a UTM-8 text?
>

First off, you posted the same message multiple times on multiple mailing
lists.
Please avoid that in the future, and read the posting guidelines here:
http://geoserver.org/display/GEOS/GeoServer+user+list+posting+guidelines

About the charset, I'm not sure. Don't think there is any code in geoserver
that
sets the charset in the returned content types, however I've noticed in the
past that Jetty has a tendency to add that bit, while for example Tomcat
does not.

The issue you're talking about looks to me more of a problem with GeoNetwork
own code, OGC makes no requirement to add the charsets in the content types,
at least, that I know of.

Cheers
Andrea

-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.geo-solutions.it for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to