Koji demonstrated the problem on my stock Roller 1.2 test site with Tomcat. The search string seems to be mangled when entering a
search query using Chinese / non-Latin characters. This appears to be a regression. I'll look into it further. I've asked him to
file a JIRA issue.
--a.
----- Original Message -----
From: "Anil Gangolli" <[EMAIL PROTECTED]>
To: "koji lin" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Thursday, July 14, 2005 12:16 AM
Subject: Re: deploying on resin2.1.14's problem, about searching and login
A couple of suggestions:
(1) It is possible that your filter configurations are incorrect. Roller uses filters both for RememberMe and setting the request
encoding early in the pipeline. Check to make sure that the dispatcher lines are commented in your web.xml. The dispatcher lines
must be commented for Servlet 2.3 containers and uncommented for Servlet 2.4 containers.
(2) Resin 2.x is a Servlet API 2.3 container. I recommend moving to Resin 3.x (which supports Servlet API 2.4) or a different
Servlet API 2.4 container like Tomcat 5+ if you are using internationalization features.
There were some issues in the Servlet API 2.3 with respect to what code had to do to make sure request and response encodings got
set properly (see the part about 2.3 JSTL issues in http://java.sun.com/developer/EJTechTips/2005/tt0425.html#2). I've worked
with other users who saw similar issues with Tomcat 4.x and non-Latin character sets, which disappeared when they upgraded to
5.0.x.
--a.