In JDK1.5, I found that Cp1047 is great enough to handle EBCDIC char
set. But our running environment is still in JDK1.3, and it can't find
Cp1047 converter class.
java.io.UnsupportedEncodingException: Cp1047
at sun.io.Converters.getConverterClass(Converters.java:102)
at sun.io.Converters.newConverter(Converters.java:131)
at
sun.io.CharToByteConverter.getConverter(CharToByteConverter.java:62)
at java.lang.String.getCTBConverter(String.java:217)
at java.lang.String.getBytes(String.java:740)
Any suggestion?
Thanks.
jacksu - 20 Sep 2006 20:26 GMT
BTW, I am using IBMWebsphere 5.0.2, it is using JDK1.3 underhood.
Any suggestion are highly welcome.
> In JDK1.5, I found that Cp1047 is great enough to handle EBCDIC char
> set. But our running environment is still in JDK1.3, and it can't find
[quoted text clipped - 11 lines]
>
> Thanks.
Thomas Fritsch - 20 Sep 2006 20:42 GMT
> In JDK1.5, I found that Cp1047 is great enough to handle EBCDIC char
> set. But our running environment is still in JDK1.3, and it can't find
[quoted text clipped - 9 lines]
>
> Any suggestion?
My Java1.3.1 supports Cp500 (a very common EBCDIC variant).
The implementing classes (sun.io.ByteToCharCp500 and sun.io.CharToByteCp500)
are in "i18n.jar".

Signature
Thomas