Bug 33193 - Japanese Characters as junk
Summary: Japanese Characters as junk
Status: CLOSED INVALID
Alias: None
Product: Tomcat 4
Classification: Unclassified
Component: Unknown (show other bugs)
Version: 4.1.0
Hardware: PC Windows XP
: P2 critical (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-21 10:05 UTC by Saurabh
Modified: 2005-09-04 15:47 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Saurabh 2005-01-21 10:05:29 UTC
Japanese Characters are displayed correctly when I access my  JSP for the 
first time(after starting/restarting Tomcat) but on second and subsequent 
hits, the Japanese Characters are displayed junk(??????).
I am accessing my JSP through a controller servlet which forwards the request 
to my JSP using requestDispatcheer.forward(request,reposne) method.
Comment 1 Tim Funk 2005-01-21 12:42:47 UTC
Please use the tomcat-user list to debug this.
Comment 2 Mark Thomas 2005-01-22 14:21:38 UTC
1. You can't just re-open a bug report without any justification.
2. 99% of i18n issues with Tomcat are down to incorrect configuration and/or
coding. Tim's advice is good advice - I strongly suggest you follow it.
3. There is in sufficient information in this bug report to reproduce it.
4. 4.1.0 is *very* old

Before re-opening this bug report:
- You need to provide a test case - attach the simplest possible WAR that
demonstrates the issue
- You need to have tested your WAR with 4.1.31 and seen the same error

If this bug report is re-opened without a valid test case it will be closed as
INVALID without further comment.
Comment 3 Saurabh 2005-01-24 08:45:14 UTC
The problem has been FIXED !!!
It was occuring due to Compression Filter(shipped with Tomcat installation).
After removing the compression filter(through commenting out the entries in 
web.xml),the character encoding settings were effective and the Japanese 
Characters were displayed properly.