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: 4114810
Votes 10
Synopsis RFE: need converters for codepage 1047
Category java:char_encodings
Reported Against 1.1
Release Fixed 1.4.2(mantis)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs 4924014
Submit Date 24-FEB-1998
Description
Some IBM EBCDIC machines need converters for codepage 1047.
Two new converters "src/share/sun/sun/io/CharToByteCp1047.java" and
"src/share/sun/sun/io/ByteToCharCp1047.java" are included.  I
suspect that the file "src/share/sun/sun/io/CharacterEncoding.java" ought to
be updated too, although the IBM developers who needed the new codepage have
not done this.

I've attached CharToByteCp1047.java.gz and ByteToCharCp1047.java.gz
to this bug report.
Work Around
N/A
Evaluation
We're planning to address this RFE by introducing a character converter SPI (RFE 4287465), which allows  xxxxx  to provide converters for all their encodings as an extension.
 xxxxx@xxxxx  2000-02-09

 xxxxx  NIO pluggable converters targeted for J2SE 1.5. In the interim a Cp1047
converter sun.io.* has been added since this is such a requested/desired
codepage.
 xxxxx@xxxxx  2002-11-06
Comments
  
  Include a link with my name & email   

Submitted On 01-MAR-1999
dbxg
In the DOCS - Supported Encodings - is the following:
Cp1046  IBM Open Edition US EBCDIC
This does not convert to EBCDIC and should be Cp1047 
Cp500 works with most chars, however [ and ] are different with Cp1047 


Submitted On 06-AUG-2001
edammb
This is very important!!! The IBM JDK on OS/390 has it. We 
need this codepage. Please, include in the JDK ASAP....


Submitted On 24-APR-2002
fisheye
Pretty sad.  I just checked JDK1.4 and Cp1047 is still not in there.  It's not that hacking
some workaround will keep me from doing more useful development.  Some will say,
just switch to the IBM JDK.  Doesn't cut it when we've just switched to Orion which
is only tested on the Sun JDK.  Well, After reading some of these bugs, I will say
that you guys (Sun) are pretty inovative at not getting one simple thing done.  Oh
you have all these great plans, but JDKs later, here we are, with this one little thing still
not done.  This reminds me of the "to little to Late" activity of the COSE initiative. Not
very encouraging when one is attempting a J2EE compliant application. I'm not a
newbie.  I was in the java/joe camp at the 1996 Sun Developers Conference, about the
same time this bug appeared, it looks like.


Submitted On 22-JUL-2002
jeffos2
My God! 4.5 years later and it's still not fixed!
Do you guys realize that IBM mainframes hold something
like 75% of all the business data in the world?
I *have* to interface to them!
Please, please fix this.


Submitted On 11-NOV-2002
jeffos2
Thanks for fixing this.
But, how do I get the interim fix for JDK 1.4.1?


Submitted On 24-MAR-2003
dvimont
I see no answer to the last posted question: "How do I get 
the interim fix for JDK 1.4.1?".
Could somebody please answer this question?  (No doubt 
many people need it.)


Submitted On 15-JUN-2003
jeffos2
Looks like this finally made it to the 1.4.2 Beta.
Bug Fixed at 
http://java.sun.com/j2se/1.4.2/fixedbugs/fixedbugs.html



PLEASE NOTE: JDK6 is formerly known as Project Mustang