Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-45

Charset.isRegistered() method always return true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None

    Description

      In accordance with J2SE specification method isRegistered() should return true only if charset is registered with IANA.
      As well, "if a supported charset is not listed in the IANA registry then its canonical name must begin with one of the strings "X-" or "x-"
      Testcase shows that even if charset name begin with "x-" isRegistered returns true;

      Attachments

        Activity

          People

            tellison Tim Ellison
            sva Vladimir Strigun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: