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

(cs) "Charset" is not a good name

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 1.4.0
    • core-libs
    • generic
    • generic

      The class java.nio.Charset got its name from a term common in Internet circles. Unfortunately, this term itself was poorly chosen. "Charset" seems to denote a character set, but that's not what it stands for. It stands for a combination of a coded character set and a character encoding scheme. Previously, we have used the term "character encoding", and this term still seems more appropriate than "charset".

      Charset should be renamed to CharacterEncoding, CharsetEncoder to CharacterEncoder, CharsetDecoder to CharacterDecoder, and CharsetProvider to CharacterEncodingProvider.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: