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: [EMAIL PROTECTED]
==============================================================

ManagerServlet.java.diff

HTMLManagerServlet.java.diff

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to