Charset.name does not return preferred MIME name when gb2312

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 5.0
    • Affects Version/s: 1.4.1, 1.4.2_01
    • Component/s: core-libs
    • b30
    • x86, sparc
    • solaris_9, windows_2000

      java.nio.charset.Charset cs = java.nio.charset.Charset.forName("GB2312");
      java.lang.String name = cs.name();

      cs.name() return "x-EUC-CN", it's not preferred MIME name, but "GB2312" is preferred MIME name. name() method should return "GB2312" in this case.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: