Japanese garbage characters in WMS Get Feature Info
---------------------------------------------------
Key: GEOS-574
URL: http://jira.codehaus.org/browse/GEOS-574
Project: GeoServer
Type: Bug
Components: WMS
Versions: 1.3.0
Environment: OS:Windows2000 Tomcat5.5
Reporter: Akira Sugawara
Assigned to: Gabriel Roldán
Priority: Critical
Hi, all
When I tested WMS Get Feature Info on latest GeoServer (ver 1.3.0 for win), I found that the Japanese characters in the respons of WMS Get Feature Info from GeoServer was garbled.
WMS client that I used is uDig and MapInfoPro8.
I tried to find out the issue and checked the all packets from GeoServer.
I finally found out as follows.
1. The character type from GeoServer is surely sent by UTF-8.
2. But there was no charset in the header of the packets.
I found only "Content-Type: text/html" or "Content-Type: text/plain"
I think the issue of this case is this.
It should be "Content-Type: text/html; charset=UTF-8" for multibyte charactere like Japanese.
How do you think about it?
If you can do it , I will test it immediately in Japanese environment.
Thanks.
-Akira
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira