Hi,
Is anyone working on the RequestUtils#computeURL method so that the
request parameters are encoded in the page's character encoding?

  I have been having trouble with html:rewrite tag and others that uses
RequestUtils#computeURL  method. The problem is that the RequestUtils#urlEncode
method that the computeURL method uses assumes that the strings that are
part of the url parameters to be character encoded in UTF-8. 

I need the request parameters to be character encoded in the encoding
that the jsp page is encoded in. If the jsp page has line like

<%@ page language="java" contentType="text/html; charset=EUC_JP" %>

then the request parameters should be encoded using EUC_JP, not UTF-8.
However, the RequestUtils#urlEnode method is hard coding the parameter
to be UTF-8 encoded. 

I looked at the source code of the struts-1.1 and wrote a quick fix, but
I have trouble with building the source as I do not have all the
required libraries. 

Before I start putting  the build environment together, which seem to be
a fair amount of work, I would like to know if anyone is already working
on this so that I know that I am not wasting my time.

Thank you.
-------------------
Yasuhiko Sakakibara
[EMAIL PROTECTED]
[EMAIL PROTECTED]


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

Reply via email to