Name: rmT116609 Date: 06/25/2003
A DESCRIPTION OF THE REQUEST :
Feature Request to add constants for commonly used character sets such as UTF-8. These constants do not appear to be specified in any class, yet are required to be specified as Strings in many methods, such as URLEncoder.encode(), InputStreamReader constructor.
JUSTIFICATION :
This is a constant string that is relied upon by parts of the Java API. The constant should therefore be embodied in the Java API.
---------- BEGIN SOURCE ----------
String encoded = URLEncoder.encode("Hello, World!", URLEncoder.UTF_8);
---------- END SOURCE ----------
(Review ID: 186679)
======================================================================