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

java.io.: InputStreamReader character encodings not defined or referenced

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.5
    • core-libs
    • x86
    • windows_nt



      Name: rm29839 Date: 12/16/97


      (See http://java.sun.com/products/jdk/1.1/docs/api/java.io.InputStreamReader.html#InputStreamReader(java.io.InputStream, java.lang.String)
      .)

      The description of java.io.InputStreamReader.In-
      putStreamReader(InputStream in, String enc)
      defines neither the logical values of the encoding
      nor the actual form (exact spelling needed) of the
      name.

      Put another way, the documentation does not answer
      the question, "What can be passed for the encoding
      string?"

      I wouldn't be surprised if the exact set of values
      depends on the platform, so maybe you can't document
      all possible legal values. However, the documen-
      tation should refer to, or at least hint at, where
      to look for supported encodings, and how to deter-
      mine the exact spelling needed here.

      (Is there a way in Java to get a list of available
      encodings?)



      This also applies to OutputStreamWriter.
      (Review ID: 21810)
      ======================================================================

            nlindenbsunw Norbert Lindenberg (Inactive)
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: