tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: chinese charsets not supported on Tomcat5.0.28?
Date Wed, 08 Sep 2004 15:29:57 GMT

I'd guess it's related to this bug fix in 5.0.28:

"If ServletResponse.getWriter() is called and no char encoding has been
specified, set response char encoding to default (ISO-8859-1) so that it
is reflected in getContentType() and Content-Type header, as required by
the Servlet Spec (Bugtraq 6152759) (luehe)."

This has been discussed on the list once or twice since the 5.0.28
release was made available.  Be careful to specify the correct encoding
on the server-side when generating your JSPs.

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: nyhgan []
>Sent: Wednesday, September 08, 2004 11:28 AM
>To: Tomcat Users List
>Subject: RE: chinese charsets not supported on Tomcat5.0.28?
>Hi Mark,
>I just tried 5.0.27, and the chinese pages displays fine.  For 5.0.28,
>matter which encoding I use on the Internet explorer to display the
>all I see is "?????"..
>Mark Thomas <> wrote:I have tested this repeatedly and
>yet to find any issue with non-latin
>characters for some time. You do, however, need to be very careful with
>configuration settings. Can you post a simple test case that fails and
>have a look at it for you.
>> -----Original Message-----
>> From: nyhgan []
>> Sent: Tuesday, September 07, 2004 8:06 PM
>> To: Tomcat-User
>> Subject: chinese charsets not supported on Tomcat5.0.28?
>> Hi all,
>> Has any one deployed multi-lingual applications in
>> tomcat5.0.28? I am deploying an application that has chinese
>> characters and now all the characters become "?????".
>> If I switched back to 5.0.19, everything is fine again. There
>> must be something change in the 5.0.28 that makes it fail to
>> display non-latin pages properly.
>> nyhgan.
>> ---------------------------------
>> Do you Yahoo!?
>> Win 1 of 4,000 free domain names from Yahoo! Enter now.
>To unsubscribe, e-mail:
>For additional commands, e-mail:
>Do you Yahoo!?
>Take Yahoo! Mail with you! Get it on your mobile phone.

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message