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

CharacterEncoding doesn't have an alias for "us-ascii"

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.1.6
    • 1.1
    • core-libs
    • None
    • 1.1.6
    • sparc
    • solaris_2.5.1
    • Verified

        From: db@shorter (David Brownell)
        Subject: Re: Char set encoding strings?
        To: anand.palaniswamy@Eng (Anand Palaniswamy)
        Date: Fri, 10 Oct 1997 08:14:47 -0700

        > From: anand.palaniswamy@Eng (Anand Palaniswamy)
        > A comment sun.io.CharacterEncoding.java says that we support
        > the "IANA" naming convention (whatever that is).

        IANA == Internet Assigned Numbers Authority

        They manage all the numbers and constants used in the Internet protocols.
        Like the officially assigned MIME types, IP packet types, etc.

        The comment is somewhat incorrect, by the way, because the following
        legal content type header (one of the most common ones!)

            Content-Type: text/html; charset=us-ascii

        includes an IANA character encoding name which is not supported by
        the JDK: "us-ascii". Bletch.

        - Dave

              lshisunw Limin Shi (Inactive)
              apalanissunw Anand Palaniswamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: