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: 4313884
Votes 2
Synopsis New I/O: Character-set API
Category java:classes_io
Reported Against 1.1.3 , 1.1.4 , 1.1.5 , 1.1.6 , 1.2.1 , 1.2.2 , 1.2fcs , 1.2beta2 , 1.2beta3 , merlin-beta , kestrel-beta
Release Fixed 1.4(merlin-beta)
State 10-Fix Delivered, request for enhancement
Priority: 3-Medium
Related Bugs 4071818 , 4126141 , 4157124 , 4166609 , 4228207 , 4241124 , 4286936 , 4287465 , 4234961
Submit Date 18-FEB-2000
Description




An API for character-set support, including a service-provider interface
for pluggable converters.  This API will give developers direct access the
platform's built-in character-set converters and will also provide for the
easy "plugging in" of new converters.

This API is being developed under the Java Community Process as part of JSR-051.
Work Around
N/A
Evaluation
In progress.  --  xxxxx@xxxxx  2000/3/10

Done.  --  xxxxx@xxxxx  2000/12/15
Comments
  
  Include a link with my name & email   

Submitted On 07-SEP-2000
mthornton
For many character encodings it is possible to find a valid 
place to start decoding near an arbitrary point in a file --
- say 30MB from the beginning, without having to read all 
the data from the beginning of the file. This is clearly 
trivial for fixed length encoding (start on the correct 
multiple). It is also not difficult to do for variable 
length encodings like UTF8. The public character converter 
API should provide methods which enable this to be done 
where possible.


Submitted On 11-OCT-2000
mthornton
It would help if the encodings would report the official 
name registered with IANA to aid compatibility with other 
applications. Thus "cp1252" should report "windows-
1252", "cp437" is more properly known as "IBM437", etc.


Submitted On 19-DEC-2000
hisama2
 In Servlet API 2.3, a new method setCharacterEncoding
(String encoding) has been added to the ServletRequest
interface. And this method throws the exception if the
encoding is invalid.
 So character set API is necessary to check the encoding
is valid or not.


Submitted On 22-JUN-2001
p.lavarre
"JSR-051" here means
http://jcp.org/jsr/detail/051.jsp



PLEASE NOTE: JDK6 is formerly known as Project Mustang