Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5066863

Most single-byte encodings incorrectly return canEncode('\u0000') -> false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • core-libs

      Because '\u0000' is used in a special way in the
      implementation of single-byte charsets,
      for most such charsets (e.g. ISO-8859-2),
      cs.canEncode('\u0000') returns false,
      although ASCII is almost always encoded using the trivial and obvious
      truncating conversion.

      (This is a part of the fix for 5065777)

      ###@###.### 2004-06-22

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: