Some charsets can't encode/decode some characters

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      Run the attached test and see
      1. charset.canEncode() returns true
      2. charset.newEncoder().canEncode(string) returns true
      but
      !string.equals(new String(string.getBytes(charset), charset))

      It breaks XML encoding/decoding for JavaBeans.

            Assignee:
            Xueming Shen
            Reporter:
            Sergey Malenkov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: