tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kan Ogawa" <super-cr...@jcom.home.ne.jp>
Subject [PATCH] The response of a multi-byte character in Tomcat 4 - Manager Application.
Date Thu, 01 Nov 2001 06:11:33 GMT
Hi,

I 'm using Tomcat 4.0.1 , but a multi-byte character isn't displayed correctly in Tomcat 4
- Manager Application,
concretely, ManagerServlet and HTMLManagerServlet.

Now, since these servlets set the contents-type as "text/plain" or "text/html", 
a single-byte character only can be displayed correctly.
Therefore, it is necessary to set the contents-type which corresponded to every locale.

For example,
in Japanese case, the contents-type to return HTML contents is "text/html; charset=Shift_JIS".

So I send the patch with which it is fixed.
By applying this patch, a charset corresponding to the default locale of the server running
Tomcat 4
comes to be included to the content-type.

==============================================================
Name: Kan Ogawa
EMail: super-creek@jcom.home.ne.jp
==============================================================

Mime
View raw message