JDK-4304014 : Extend URLEncoder
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2000-01-11
  • Updated: 2000-04-24
  • Resolved: 2000-04-24
Related Reports
Duplicate :  
Description

Name: rf98795			Date: 01/11/2000



Extend URLEncoder, or add a new class, that will provide a standard means of 
encoding Unicode beyond the 8859-1 range for transfer in URL encoded format.  
This is needed for some clients sending data back to a web server, or to prepare 
data for some forms of encryption.

======================================================================

Comments
EVALUATION mayank.upadhyay@eng 2000-02-08 The URLEncoder should first transform the characters to UTF-8 encoding (W3C recommendation) before it replaces unsafe characters with strings of the form %xy. Otherwise, this process will be non-standard for characters beyond the ASCII range that are more than 8 bit and cannot be represented simply as %xy where xy represent the hex digits of the byte. Moreover, the current implementation will just discard the higher order byte of the unicode character.
11-06-2004