Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4387138

UnsupportedEncodingException jre 1.3 missing i18n.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.2.2, 1.3.0
    • core-libs

      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)
      ======================================================================

            ilittlesunw Ian Little (Inactive)
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: