Need to re-instate "ASCII7" as an alias for NIO US-ASCII charset

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.2
    • Affects Version/s: 1.4.1
    • Component/s: core-libs
    • None
    • mantis
    • generic
    • generic
    • Verified

      The alias "ASCII7" which refers to US-ASCII (aka, ANSI_X3.4-1986) is missing
      from the list of registered aliases for the NIO charset implementation
      included in J2SE 1.4.0 and 1.4.1. Charset.forName("ASCII7") will not
      return back an instance on sun.nio.cs.US_ASCII whereas the alias will
      work when using java.lang or java.io APIs, eg String getBytes("ASCII7")
      will encode using "US-ASCII".

      This inconsistency should be iron out and the alias should be added to
      the list of provided aliases within the core J2SE platform J2SE
      CharsetProvider implementation.

            Assignee:
            Ian Little (Inactive)
            Reporter:
            Ian Little (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: