I'm not sure what web container you use.. But if I remember correctly,
usually, parameters will be parsed by ISO-8859-1 to get pipeline parameter.

Thanks,
 shinsuke

(Jay) Jun Yan wrote:
I am using Jetspee 2.0

In org.apache.jetspeed.engine.servlet.ServletRequestImpl. 348855 2005-11-25
02:36:22Z ate
Method getParameterMap, there is a line
     paramValues[i] = new String(paramValues[i].getBytes("ISO-8859-1"),
encoding);

This is probably wrong, as it assumes parameters are ISO-8859-1 encoded, and
that will cause UTF-8 encoded parameters, like
request.jsp?name=%E9%A1%B9%E7%9B%AE

be understood as "??", while actually it should be "项目" (Project in Chinese)

I changed it to use UTF-8 at my place.

Any suggestion/comments?

Thanks,

Jay


--------------------------------------
Let's start Yahoo! Auction  -  Free Campaign Now!
http://pr.mail.yahoo.co.jp/auction/

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

Reply via email to