Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4849617
Votes 2
Synopsis (cs) Revise Charset spec to allow '+' in names
Category java:classes_nio
Reported Against tiger
Release Fixed 7(b36)
State 10-Fix Delivered, request for enhancement
Priority: 3-Medium
Related Bugs 5021956 , 6724154
Submit Date 16-APR-2003
Description
The Charset protected constructor runs the private method checkName over all charset names and aliases.  This function does not accept the '+'  customer  which is part of the  IANA alias 'PC-Multilingual-850+euro' among others (see http://www.iana.org/assignments/character-sets).  All IANA aliases should be accepted by the constructor.
Work Around
N/A
Evaluation
This is an RFE, not a bug.  The specification of the Charset class describes
precisely which characters are legal in charset names, but '+' is unfortunately
not among them.  It would be reasonable to revise the Charset specification to
allow this, but we can't do that until the next feature release.

--   xxxxx@xxxxx   2003/4/22
Comments
  
  Include a link with my name & email   

Submitted On 27-SEP-2006
SoftTouch
This really is a bug.  The documentation for the Charset class API states that "Charset names generally follow the conventions documented in RFC 2278: IANA Charset Registration Procedures." The RFC does not exclude '+'.

The Charset class specification conflicts with itself.

If IANA names are suppose to be the basis of this API, then all IANA names and aliases should be supported.


Submitted On 27-SEP-2006
I agree this is a bug not an RFE. 



PLEASE NOTE: JDK6 is formerly known as Project Mustang