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

Document what happens when chars have no counterpart(s) in target encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.2.2
    • docs
    • generic
    • generic



      Name: krT82822 Date: 11/22/99


      orig synopsis: "Undefined behaviour of supported encodings"

      java version "1.2"
      Classic VM (build JDK-1.2-V, native threads)
      The API of the class OutputStreamWriter states:

      ...
      The encoding used by an OutputStreamWriter may be specified by
      name
      ...

      being the name that of a character encoding as reported in:

      http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html

      However, the behaviour of such converters is nowhere specifed
      with respect to the handling of characters which have no
      equivalent in the destination encoding. It is common practice
      among converter programs to replace characters which have no
      correspondence with "?". This behaviour, however, should be
      documented since it is important for the user to know what
      will be eventually the contents of the written file.
      (Review ID: 97514)
      ======================================================================

            shommel Scott Hommel (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: