You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by "Alex Kim (JIRA)" <ca...@jakarta.apache.org> on 2009/07/08 07:22:14 UTC

[jira] Created: (CACTUS-265) I need to config url encoding type at the 'HttpUtil.addHttpGetParameters' method.

I need to config url encoding type at the 'HttpUtil.addHttpGetParameters' method.
---------------------------------------------------------------------------------

                 Key: CACTUS-265
                 URL: https://issues.apache.org/jira/browse/CACTUS-265
             Project: Cactus
          Issue Type: Improvement
          Components: Framework
    Affects Versions: 1.8.1
         Environment: WindowsXP,linux 
            Reporter: Alex Kim


The standard url encoding is 'UTF-8' in my 'jboss server'. 
But, in my linux server, 'euc-kr' is default. 
So, I need to config url encoding.

I think ... in the addHttpGetParameters method.
change below statement.

>>queryString.append(URLEncoder.encode(values[0]));

to 

>>queryString.append(URLEncoder.encode(values[0],System.getProperty("file.encoding"));
or
add parameter to config encoding type.

Please add this feature, for users who use multi-byte characterset.

Thank you

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org