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

CharsetDecoder needs method to identify detected encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta
    • generic
    • generic

      Character decoders can be used to auto-detect character encodings. An example among the current J2RE character converters is the JIS Auto-detect converter, which distinguishes between ISO 2022 JP, EUC-JP, and Shift-JIS. Clients sometimes need to find out the actual encoding, so they can encode reply text in the same encoding. To support this, CharsetDecoder needs a method to return the name of the detected encoding or the Charset itself.

            mr Mark Reinhold
            nlindenbsunw Norbert Lindenberg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: