You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nathan Beyer (JIRA)" <ji...@apache.org> on 2010/03/11 05:23:27 UTC

[jira] Commented: (HARMONY-6464) [classlib][luni]URLEncoder.encode(String) should same as URLEncoder.encode(String, defaultEncoding)

    [ https://issues.apache.org/jira/browse/HARMONY-6464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843899#action_12843899 ] 

Nathan Beyer commented on HARMONY-6464:
---------------------------------------

The behavior isn't incorrect - it's using the default encoding - that's what happens when String.getBytes() is called with no encoding passed.

> [classlib][luni]URLEncoder.encode(String) should same as URLEncoder.encode(String, defaultEncoding)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6464
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6464
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Ray Chen
>            Priority: Minor
>         Attachments: Harmony-6464.diff
>
>
> Although URLEncoder.encode(String) is deprecated, but its behavior should be as same as URLEncoder.encode(String, defaultEncoding)
> In which defaultEncoding = System.getProperty("file.encoding");

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