-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.2.2, 1.3.0
-
x86
-
windows_98, windows_nt
Name: boT120536 Date: 11/08/2000
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
I use the java plug-in setup program to select a java run time environment. When
I select either jdk1.2.2/jre or jdk1.3/jre as my run time selection the
following line of code in my java applet works:
bwout = new BufferedWriter(new
OutputStreamWriter(http.getOutputStream(),"Cp037"));
However, when I select jre/1.3 as my java run time environment it fails with an
UnsupportedEncodingException. Both jdk's jre/lib directories contain the jar
file i18n.jar which contains ByteToCharCp037 and CharToByteCp037 classes.
However the jre 1.3 (non-internationalized version 5meg package) does not
contain i18n.jar. When I copy this jar file from jdk1.3/jre/lib to jre/1.3/lib
the problem goes away. How come jre 1.3 does not contain this jar file?
(Review ID: 111264)
======================================================================
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
I use the java plug-in setup program to select a java run time environment. When
I select either jdk1.2.2/jre or jdk1.3/jre as my run time selection the
following line of code in my java applet works:
bwout = new BufferedWriter(new
OutputStreamWriter(http.getOutputStream(),"Cp037"));
However, when I select jre/1.3 as my java run time environment it fails with an
UnsupportedEncodingException. Both jdk's jre/lib directories contain the jar
file i18n.jar which contains ByteToCharCp037 and CharToByteCp037 classes.
However the jre 1.3 (non-internationalized version 5meg package) does not
contain i18n.jar. When I copy this jar file from jdk1.3/jre/lib to jre/1.3/lib
the problem goes away. How come jre 1.3 does not contain this jar file?
(Review ID: 111264)
======================================================================