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

Charset.isRegistered() method always return true

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Classlib
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: